
Hi Bob, You are right, the new file template we have for 5.1 Book is located here:
OXYGEN_INSTALL_DIR\frameworks\docbook\templates\Docbook 5.1 (Experimental)\Book.xml
and indeed it did not have the proper version set on the schema. This will be corrected in the next Oxygen 18.0 minor bug fix release. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 4/29/2016 11:15 PM, Bob Stayton wrote:
I've been looking at Oxygen 18's DocBook 5.1 support a bit.
When I do File > New and select a DocBook 5.1 template, I actually get a 5.0 document. The version="5.0" and <?xml-model ?> processing instructions that Oxygen adds at the top point to 5.0. I guess this bit hasn't been updated yet.
However, if I just change the number in the xml-model processing instructions from 5.0 to 5.1 and reload the document, it validates as 5.1.
<?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/rng/docbook.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
The XML catalog that Oxygen includes for 5.1 uses "5.1", not "5.1CR3".
Bob Stayton Sagehill Enterprises bobs@sagehill.net
On 4/28/2016 2:23 AM, Erik Zander wrote:
Hi,
I have a docbook file that conforms to the docbook 5.1CR3 schema but not 5.0.
My version attribute in the root element is set to 5.1CR3 but when I press validate it validates the document with the 5.0 schema.
Am I missing something in the requirements?
Regards
Erik Zander
_______________________________________________ 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