Error when translating to docbook-xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error when translating to docbook-xml

wimalopaan
Hi all,

the following produces an error if translated to docbook-xml:

Referenz http://de.wikipedia.org/wiki/Referenz[Referenz]{wj}footnote:[Achtung] blank

error:
asciidoctor -b docbook5 -a print -r asciidoctor-diagram -o test.xml test.adoc
xsltproc --nonet test.xml > test.foc
test.xml:27: parser error : Specification mandate value for attribute x
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                         ^
test.xml:27: parser error : attributes construct error
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                         ^
test.xml:27: parser error : Couldn't find end of Start Tag link line 27
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                         ^
test.xml:27: parser error : attributes construct error
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                                                 ^
test.xml:27: parser error : Couldn't find end of Start Tag link line 27
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                                                 ^
test.xml:27: parser error : Opening and ending tag mismatch: simpara line 27 and link
 x<link xlink:href="href="http://de.wikipedia.org/wiki/Referenz">Referenz</link>
                                                                               ^
test.xml:27: parser error : Opening and ending tag mismatch: section line 25 and link
/de.wikipedia.org/wiki/Referenz">Referenz</link>&#8288;footnote:">Achtung</link>
                                                                               ^
test.xml:27: parser error : Opening and ending tag mismatch: article line 4 and simpara
rg/wiki/Referenz">Referenz</link>&#8288;footnote:">Achtung</link> blank</simpara
                                                                               ^
test.xml:28: parser error : Extra content at the end of the document
</section>


Any hints?

-
Wilhelm
Reply | Threaded
Open this post in threaded view
|

Re: Error when translating to docbook-xml

mojavelinux
Administrator
This looks like a parsing error or perhaps a deferred parsing error specific to the DocBook backend. Could you file an issue? This will make an ideal test case.

-Dan

On Wed, Feb 25, 2015 at 5:58 AM, wimalopaan [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi all,

the following produces an error if translated to docbook-xml:

Referenz http://de.wikipedia.org/wiki/Referenz[Referenz]{wj}footnote:[Achtung] blank

error:
asciidoctor -b docbook5 -a print -r asciidoctor-diagram -o test.xml test.adoc
xsltproc --nonet test.xml > test.foc
test.xml:27: parser error : Specification mandate value for attribute x
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                         ^
test.xml:27: parser error : attributes construct error
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                         ^
test.xml:27: parser error : Couldn't find end of Start Tag link line 27
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                         ^
test.xml:27: parser error : attributes construct error
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                                                 ^
test.xml:27: parser error : Couldn't find end of Start Tag link line 27
<simpara>Referenz <link x<link xlink:href="href="http://de.wikipedia.org/wiki/Re
                                                 ^
test.xml:27: parser error : Opening and ending tag mismatch: simpara line 27 and link
 x<link xlink:href="href="http://de.wikipedia.org/wiki/Referenz">Referenz</link>
                                                                               ^
test.xml:27: parser error : Opening and ending tag mismatch: section line 25 and link
/de.wikipedia.org/wiki/Referenz">Referenz</link>&#8288;footnote:">Achtung</link>
                                                                               ^
test.xml:27: parser error : Opening and ending tag mismatch: article line 4 and simpara
rg/wiki/Referenz">Referenz</link>&#8288;footnote:">Achtung</link> blank</simpara
                                                                               ^
test.xml:28: parser error : Extra content at the end of the document
</section>


Any hints?

-
Wilhelm



If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Error-when-translating-to-docbook-xml-tp2800.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--