[xml] XML conditional section not closed error could need some more info



Hi,

I have some test cases to check DocBook DTDs. One for simplified DocBook
is:

<?xml version='1.0'?>
<!DOCTYPE article PUBLIC
"-//OASIS//DTD Simplified DocBook XML Customization V1.1//EN"
"http://www.oasis-open.org/docbook/xml/simple/1.1/sdocbook-custom.dtd";>

<article>
  <title>foo</title>
  <section>
    <title>bar</title>
    <para>foo</para>
  </section>
</article>

But when I try to validate it:

xmllint --debug --debugent --noout --nonet --valid test-custom-1.1.xml

I get an error:

file:///usr/share/xml/docbook/custom/simple/1.1/sdocbook-custom.dtd:452:
parser error : XML conditional section not closed

Of course, line 452 is the last line in the DTD, so it's not very useful
to know, that something has not been closed. Is it possible to add some
info, where the conditional section was opened? Or am I wrong here,
asking for this?

Regards, Daniel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]