On Jan 5, 10:11 am, Lex Trotman <[email protected]> wrote: > On 5 January 2011 10:55, phayz <[email protected]> wrote: > > > On Jan 5, 9:40 am, Lex Trotman <[email protected]> wrote: > >> On 4 January 2011 22:21, phayz <[email protected]> wrote: > > >> > I am fairly new to ASCIIDOC but after reading the documentation it > >> > looks quite simple to get started. I have been working on a document > >> > from which I have been producing valid HTML, using the command > >> > "asciidoc <asciidoc_source_file>". Now that I want to use the a2x > >> > utility to generate the output it's simply not working. When using the > >> > command "a2x -f xhtml <asciidoc_source_file>", xmllint reports: > > >> > a2x: ERROR: xmllint --nonet --noout --valid /media/Lexar/phayz/ > >> > newsletter/issue74/issue74.xml returned non-zero exit status 1 > > >> > When I run xmllint manually against this file, I can see the various > >> > points where there are problems. It reports 8 errors. When I run the > >> > same file through the W3 validator, it reports only 2 errors and 1 > >> > warning. I simply can't understand where I am going wrong. > > >> Hi Russel, > > >> It would be easier for someone to help you if you post this > >> information and the asciidoc so they know what you are having trouble > >> with. > > >> Cheers > >> Lex > > > Good point! The content of the ASCIIDOC source file can be found at > > the following link: > > >https://docs.google.com/leaf?id=0B7Gg_VrNLR_FYzc2MDVjOGMtMTM5MS00NGJj... > > > Additional information: > > ASCIIDOC version 8.6.3 > > Testing is being done under Linux > > And what are the errors? > > Cheers > Lex
OK - I finally have the errors: asciidoc: reading: /etc/asciidoc/asciidoc.conf asciidoc: reading: /etc/asciidoc/asciidoc.conf asciidoc: reading: /media/Lexar/phayz/newsletter/issue74/issue74.asc asciidoc: reading: /etc/asciidoc/docbook45.conf asciidoc: reading: /etc/asciidoc/filters/source/source-highlight- filter.conf asciidoc: reading: /etc/asciidoc/filters/code/code-filter.conf asciidoc: reading: /etc/asciidoc/filters/music/music-filter.conf asciidoc: reading: /etc/asciidoc/filters/latex/latex-filter.conf asciidoc: reading: /etc/asciidoc/filters/graphviz/graphviz-filter.conf asciidoc: reading: /etc/asciidoc/lang-en.conf asciidoc: writing: /media/Lexar/phayz/newsletter/issue74/issue74.xml /media/Lexar/phayz/newsletter/issue74/issue74.xml:586: parser error : attributes construct error href="<ulink url="http://frugalware.fr"">French</ulink> and ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:586: parser error : Couldn't find end of Start Tag ulink line 586 href="<ulink url="http://frugalware.fr"">French</ulink> and ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:586: parser error : Opening and ending tag mismatch: simpara line 585 and ulink href="<ulink url="http://frugalware.fr"">French</ulink> and ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:587: parser error : attributes construct error href="<ulink url="http://frugalware.dk/?cat=5"">Danish</ulink> by their respecti ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:587: parser error : Couldn't find end of Start Tag ulink line 587 href="<ulink url="http://frugalware.dk/?cat=5"">Danish</ulink> by their respecti ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:587: parser error : Opening and ending tag mismatch: section line 583 and ulink href="<ulink url="http://frugalware.dk/?cat=5"">Danish</ulink> by their respecti ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:590: parser error : Opening and ending tag mismatch: section line 571 and simpara translations.</simpara> ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:591: parser error : Opening and ending tag mismatch: article line 6 and section </section> ^ /media/Lexar/phayz/newsletter/issue74/issue74.xml:592: parser error : Extra content at the end of the document <section id="_release"> ^ a2x: ERROR: xmllint --nonet --noout --valid /media/Lexar/phayz/ newsletter/issue74/issue74.xml returned non-zero exit status 1 -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
