Error: "XML Parsing failed" and no further information attached

Dear all, I have the following preface: <?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/> </preface> The separate files are all composed like this: <?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect> A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message. What do I wrong? Kind regards Bernhard -- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

The error removes any preface, ough. Am 06.05.2018 um 09:04 schrieb Bernhard Kleine:
Dear all,
I have the following preface:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/>
</preface>
The separate files are all composed like this:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect>
A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message.
What do I wrong?
Kind regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

Hi Bernhard, I don’t know what you mean by “The error removes any preface”. I noticed that you used "<!DOCTYPE chapter[…" instead of "<!DOCTYPE preface[…" in the preface file. However, when I create a new DocBook 5.1 chapter based on the framework template, and if I add a DOCTYPE declaration, then the error "F [ISO Schematron] XML Parsing failed" error will always arise, until I remove either the DOCTYPE declaration or the Schematron xml-model processing instruction. This is probably something the oXygen people need to investigate. Gerrit On 06.05.2018 09:22, Bernhard Kleine wrote:
The error removes any preface, ough.
Am 06.05.2018 um 09:04 schrieb Bernhard Kleine:
Dear all,
I have the following preface:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/>
</preface>
The separate files are all composed like this:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect>
A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message.
What do I wrong?
Kind regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com,www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Gerrit Imsieke Geschäftsführer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@le-tex.de, http://www.le-tex.de Registergericht / Commercial Register: Amtsgericht Leipzig Registernummer / Registration Number: HRB 24930 Geschäftsführer / Managing Directors: Gerrit Imsieke, Svea Jelonek, Thomas Schmidt

Hi Bernhard, If you can send us (either though the mail list or via "support@oxygenxml.com") some small sample Docbook documents to reproduce the problem on our side, we could try to investigate this further. Regards, Radu Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com On 5/6/2018 10:30 AM, Imsieke, Gerrit, le-tex wrote:
Hi Bernhard,
I don’t know what you mean by “The error removes any preface”.
I noticed that you used "<!DOCTYPE chapter[…" instead of "<!DOCTYPE preface[…" in the preface file.
However, when I create a new DocBook 5.1 chapter based on the framework template, and if I add a DOCTYPE declaration, then the error "F [ISO Schematron] XML Parsing failed" error will always arise, until I remove either the DOCTYPE declaration or the Schematron xml-model processing instruction.
This is probably something the oXygen people need to investigate.
Gerrit
On 06.05.2018 09:22, Bernhard Kleine wrote:
The error removes any preface, ough.
Am 06.05.2018 um 09:04 schrieb Bernhard Kleine:
Dear all,
I have the following preface:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/>
</preface>
The separate files are all composed like this:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect>
A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message.
What do I wrong?
Kind regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com,www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user

I would like to send you a file, but unfortunately I can not reproduce the error I got yesterday. Very strange. When It happen again I will send you a file. All I did yesterday I removed Am 07.05.2018 um 11:41 schrieb Oxygen XML Editor Support (Radu Coravu):
Hi Bernhard,
If you can send us (either though the mail list or via "support@oxygenxml.com") some small sample Docbook documents to reproduce the problem on our side, we could try to investigate this further.
Regards, Radu
Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com
On 5/6/2018 10:30 AM, Imsieke, Gerrit, le-tex wrote:
Hi Bernhard,
I don’t know what you mean by “The error removes any preface”.
I noticed that you used "<!DOCTYPE chapter[…" instead of "<!DOCTYPE preface[…" in the preface file.
However, when I create a new DocBook 5.1 chapter based on the framework template, and if I add a DOCTYPE declaration, then the error "F [ISO Schematron] XML Parsing failed" error will always arise, until I remove either the DOCTYPE declaration or the Schematron xml-model processing instruction.
This is probably something the oXygen people need to investigate.
Gerrit
On 06.05.2018 09:22, Bernhard Kleine wrote:
The error removes any preface, ough.
Am 06.05.2018 um 09:04 schrieb Bernhard Kleine:
Dear all,
I have the following preface:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/>
</preface>
The separate files are all composed like this:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect>
A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message.
What do I wrong?
Kind regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com,www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

I would like to send you a file, but unfortunately I can not reproduce the error I got yesterday. Very strange. When It happen again I will send you a file. All I did yesterday I removed this line <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> and the error disappeard. Adding it back today, no parsing error apparent with either 19.1 oder 20.0. Strange! REgards Bernhard Am 07.05.2018 um 11:41 schrieb Oxygen XML Editor Support (Radu Coravu):
Hi Bernhard,
If you can send us (either though the mail list or via "support@oxygenxml.com") some small sample Docbook documents to reproduce the problem on our side, we could try to investigate this further.
Regards, Radu
Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com
On 5/6/2018 10:30 AM, Imsieke, Gerrit, le-tex wrote:
Hi Bernhard,
I don’t know what you mean by “The error removes any preface”.
I noticed that you used "<!DOCTYPE chapter[…" instead of "<!DOCTYPE preface[…" in the preface file.
However, when I create a new DocBook 5.1 chapter based on the framework template, and if I add a DOCTYPE declaration, then the error "F [ISO Schematron] XML Parsing failed" error will always arise, until I remove either the DOCTYPE declaration or the Schematron xml-model processing instruction.
This is probably something the oXygen people need to investigate.
Gerrit
On 06.05.2018 09:22, Bernhard Kleine wrote:
The error removes any preface, ough.
Am 06.05.2018 um 09:04 schrieb Bernhard Kleine:
Dear all,
I have the following preface:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/>
</preface>
The separate files are all composed like this:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect>
A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message.
What do I wrong?
Kind regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com,www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09

A minimal example that still produces the error in my oXygen 20 is this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE chapter[ <!ENTITY foo "bar"> ]> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.1"> <title/> <para/> </chapter> Commenting out either the doctype declaration or the Schematron PI will avoid the error. It seems as if the Schematron processor chokes on the absence of a system identifier. Changing the doctype declaration into <!DOCTYPE chapter SYSTEM "https://docbook.org/xml/5.0/dtd/docbook.dtd" [ <!ENTITY foo "bar"> ]> solved the issue. But this is not ideal for several interrelated reasons: – The associated DTD is for DocBook 5.0; – It will be fetched from the server every time when opening and validating the document; – Beginning with 5.1, there is no DocBook DTD any more. Otherwise one could download it and access it locally via XML catalog; – Validation should be performed against the Relax NG schema (I omitted the corresponding PI in the example above). I have the feeling that the Schematron implementation uses another, more picky, XML parser than the rest of oXygen. On the other hand I wonder why it worked again after you re-inserted the Schematron PI. Is anyone else able to reproduce the "[ISO Schematron] XML Parsing failed" error with the internal-subset-only declaration above? Gerrit On 07.05.2018 15:40, Bernhard Kleine wrote:
I would like to send you a file, but unfortunately I can not reproduce the error I got yesterday. Very strange. When It happen again I will send you a file. All I did yesterday I removed this line <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> and the error disappeard. Adding it back today, no parsing error apparent with either 19.1 oder 20.0. Strange!
REgards Bernhard
Am 07.05.2018 um 11:41 schrieb Oxygen XML Editor Support (Radu Coravu):
Hi Bernhard,
If you can send us (either though the mail list or via "support@oxygenxml.com") some small sample Docbook documents to reproduce the problem on our side, we could try to investigate this further.
Regards, Radu
Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com
On 5/6/2018 10:30 AM, Imsieke, Gerrit, le-tex wrote:
Hi Bernhard,
I don’t know what you mean by “The error removes any preface”.
I noticed that you used "<!DOCTYPE chapter[…" instead of "<!DOCTYPE preface[…" in the preface file.
However, when I create a new DocBook 5.1 chapter based on the framework template, and if I add a DOCTYPE declaration, then the error "F [ISO Schematron] XML Parsing failed" error will always arise, until I remove either the DOCTYPE declaration or the Schematron xml-model processing instruction.
This is probably something the oXygen people need to investigate.
Gerrit
On 06.05.2018 09:22, Bernhard Kleine wrote:
The error removes any preface, ough.
Am 06.05.2018 um 09:04 schrieb Bernhard Kleine:
Dear all,
I have the following preface:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/>
</preface>
The separate files are all composed like this:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect>
A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message.
What do I wrong?
Kind regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com,www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Gerrit Imsieke Geschäftsführer / Managing Director le-tex publishing services GmbH Weissenfelser Str. 84, 04229 Leipzig, Germany Phone +49 341 355356 110, Fax +49 341 355356 510 gerrit.imsieke@le-tex.de, http://www.le-tex.de Registergericht / Commercial Register: Amtsgericht Leipzig Registernummer / Registration Number: HRB 24930 Geschäftsführer / Managing Directors: Gerrit Imsieke, Svea Jelonek, Thomas Schmidt

Hi Gerrit, Bernhard, I can now reproduce the problem on my side, it's a side effect caused by a setting we added in Oxygen 20 and we'll try to find a fix for it. As a workaround, in the Oxygen Preferences->"XML / XML Parser / Schematron" page there is a checkbox called "Used associated XML Schema to expand default attributes", you can uncheck it and the problem will not occur anymore. As you are using RNG-based Docbook 5 the unselected checkbox will bring no unwanted consequences. Regards, Radu Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com On 5/7/2018 5:30 PM, Imsieke, Gerrit, le-tex wrote:
A minimal example that still produces the error in my oXygen 20 is this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE chapter[ <!ENTITY foo "bar"> ]> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.1"> <title/> <para/> </chapter>
Commenting out either the doctype declaration or the Schematron PI will avoid the error.
It seems as if the Schematron processor chokes on the absence of a system identifier. Changing the doctype declaration into
<!DOCTYPE chapter SYSTEM "https://docbook.org/xml/5.0/dtd/docbook.dtd" [ <!ENTITY foo "bar"> ]>
solved the issue. But this is not ideal for several interrelated reasons:
– The associated DTD is for DocBook 5.0; – It will be fetched from the server every time when opening and validating the document; – Beginning with 5.1, there is no DocBook DTD any more. Otherwise one could download it and access it locally via XML catalog; – Validation should be performed against the Relax NG schema (I omitted the corresponding PI in the example above).
I have the feeling that the Schematron implementation uses another, more picky, XML parser than the rest of oXygen.
On the other hand I wonder why it worked again after you re-inserted the Schematron PI.
Is anyone else able to reproduce the "[ISO Schematron] XML Parsing failed" error with the internal-subset-only declaration above?
Gerrit
On 07.05.2018 15:40, Bernhard Kleine wrote:
I would like to send you a file, but unfortunately I can not reproduce the error I got yesterday. Very strange. When It happen again I will send you a file. All I did yesterday I removed this line <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> and the error disappeard. Adding it back today, no parsing error apparent with either 19.1 oder 20.0. Strange!
REgards Bernhard
Am 07.05.2018 um 11:41 schrieb Oxygen XML Editor Support (Radu Coravu):
Hi Bernhard,
If you can send us (either though the mail list or via "support@oxygenxml.com") some small sample Docbook documents to reproduce the problem on our side, we could try to investigate this further.
Regards, Radu
Radu Coravu <oXygen/> XML Editor http://www.oxygenxml.com
On 5/6/2018 10:30 AM, Imsieke, Gerrit, le-tex wrote:
Hi Bernhard,
I don’t know what you mean by “The error removes any preface”.
I noticed that you used "<!DOCTYPE chapter[…" instead of "<!DOCTYPE preface[…" in the preface file.
However, when I create a new DocBook 5.1 chapter based on the framework template, and if I add a DOCTYPE declaration, then the error "F [ISO Schematron] XML Parsing failed" error will always arise, until I remove either the DOCTYPE declaration or the Schematron xml-model processing instruction.
This is probably something the oXygen people need to investigate.
Gerrit
On 06.05.2018 09:22, Bernhard Kleine wrote:
The error removes any preface, ough.
Am 06.05.2018 um 09:04 schrieb Bernhard Kleine:
Dear all,
I have the following preface:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter[ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <preface xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"> <title>Vorwort zur vierten Auflage</title> <xi:include href="Vorwort4Auflage.xml"/> <xi:include href="Vorwort3Auflage.xml"/> <xi:include href="Vorwort2Auflage.xml"/> <xi:include href="Vorwort1Auflage.xml"/>
</preface>
The separate files are all composed like this:
<?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.1/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <?xml-model href="http://docbook.org/xml/5.1/sch/docbook.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?> <!DOCTYPE chapter [ <!ENTITY % my-entities SYSTEM "../Myentities.ent"> %my-entities; ]> <simplesect xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.1"><title>Vorwort</title> <para>bedanken wir uns auch an dieser Stelle.</para> <para>im Dezember 2006</para> </simplesect>
A chapter where the error does not appear starts similarly, but with chapter instead of simplesect. However, changing <!DOCTYPE chapter [ to <!DOCTYPE simplesect [ does not help to get rid of the message.
What do I wrong?
Kind regards
Bernhard
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- spitzhalde9 D-79853 lenzkirch bernhard.kleine@gmx.net www.b-kleine.com,www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (3)
-
Bernhard Kleine
-
Imsieke, Gerrit, le-tex
-
Oxygen XML Editor Support (Radu Coravu)