Subject: Re: [xsl] Use XSLT to check a bunch of XHTML files forwell-formedness? From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 17 Feb 2021 22:27:16 -0000 |
On Wed, 2021-02-17 at 16:52 +0000, Roger L Costello costello@xxxxxxxxx wrote: > I ran xmlwf on a folder that contains 10,000 XHTML files. Wow! It > checked all of them in a couple seconds. However, the error messages > are poor. For example, here is one of the error messages: > > B B B B B B B B xhtml\htmloutput10.xhtml:206:2: mismatched tag > > Compare that to the error message I get when I run my super-simple > XSLT program on the XHTML file: > > Error on line 206 column 3 of htmloutput10.xhtml: > B SXXP0003B Error reported by XML parser: The element type "input" > must be terminated by the > B matching end-tag "</input>". > > I find the latter error message to be more helpful. The xmllint --noout message for this is even more helpful, giving the line number of both the first and the "mismatched" tag. Liam -- Liam Quin,B https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Use XSLT to check a bunch, Martin Honnen martin | Thread | [xsl] with XPath 1.0, select all fo, Wolfhart Totschnig w |
Re: [xsl] Use XSLT to check a bunch, Martin Honnen martin | Date | [xsl] with XPath 1.0, select all fo, Wolfhart Totschnig w |
Month |