(Relatively) new problem with NVDL validation of TEI Specs
Post here issues about NVDL, not specifically linked to the oNVDL implementation.
-
- Posts: 180
- Joined: Wed Apr 20, 2005 5:43 pm
- Location: Victoria, BC, Canada
(Relatively) new problem with NVDL validation of TEI Specs
Post by martindholmes »
Hi there,
Our TEI specification documents (for elements, attribute classes etc.) are validated using NVDL, because they contain a range of external content such as RNG and Schematron which needs to be validated with non-TEI schemas.
An example document would be this one:
http://teijenkins.hcmc.uvic.ca/job/TEIP ... ntable.xml
which is validated using this:
http://tei.it.ox.ac.uk/jenkins/job/TEIP ... dd/p5.nvdl
Some time during the lifetime of Oxygen 16.1 (we think), this stopped working properly; now when we validate, we get the following error:
http://tei.it.ox.ac.uk/jenkins/job/TEIP ... dds.isosch
The handling of the isosch file in Oxygen seems to involve some processing which triggers the error.
Does anyone know why this might be happening, and what we can do to avoid it?
All help appreciated,
Martin
Our TEI specification documents (for elements, attribute classes etc.) are validated using NVDL, because they contain a range of external content such as RNG and Schematron which needs to be validated with non-TEI schemas.
An example document would be this one:
http://teijenkins.hcmc.uvic.ca/job/TEIP ... ntable.xml
which is validated using this:
http://tei.it.ox.ac.uk/jenkins/job/TEIP ... dd/p5.nvdl
Some time during the lifetime of Oxygen 16.1 (we think), this stopped working properly; now when we validate, we get the following error:
which relates to this schema, linked from the nvdl file:Attribute @xsl:dummy-for-xmlns is not allowed on element <xsl:stylesheet>
http://tei.it.ox.ac.uk/jenkins/job/TEIP ... dds.isosch
The handling of the isosch file in Oxygen seems to involve some processing which triggers the error.
Does anyone know why this might be happening, and what we can do to avoid it?
All help appreciated,
Martin
Re: (Relatively) new problem with NVDL validation of TEI Spe
Hi Martin,
Sorry for the delay, I set this aside last week because I knew I had a lot of digging to do in order to find the cause.
NVDL + ISO Schematron validation uses some XSLT stylesheets to produce from the original Schematron schema the XSLT stylesheet which will be used to signal the errors.
Probably because of updates we made to the bundled Saxon 9 XSLT processor from one Oxygen version to another, at some point the processor became less lenient with error reporting and started failing when compiling the XSLT stylesheet which would have signaled possible errors.
I think I have a possible fix for this, if you contact us via email I could try to send you a patch so that you can try to fix on your side.
Regards,
Radu
Sorry for the delay, I set this aside last week because I knew I had a lot of digging to do in order to find the cause.
NVDL + ISO Schematron validation uses some XSLT stylesheets to produce from the original Schematron schema the XSLT stylesheet which will be used to signal the errors.
Probably because of updates we made to the bundled Saxon 9 XSLT processor from one Oxygen version to another, at some point the processor became less lenient with error reporting and started failing when compiling the XSLT stylesheet which would have signaled possible errors.
I think I have a possible fix for this, if you contact us via email I could try to send you a patch so that you can try to fix on your side.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: (Relatively) new problem with NVDL validation of TEI Spe
Hi,
One way to avoid the problem would be that in the Schematron file:
http://tei.it.ox.ac.uk/jenkins/job/TEIP ... dds.isosch
to replace this namespace declaration:
with one with a different prefix like:
and use that "xslt" prefix in the XPath expressions which required the use of "xsl".
Regards,
Radu
One way to avoid the problem would be that in the Schematron file:
http://tei.it.ox.ac.uk/jenkins/job/TEIP ... dds.isosch
to replace this namespace declaration:
Code: Select all
<ns prefix="xsl" uri="http://www.w3.org/1999/XSL/Transform"/>
Code: Select all
<ns prefix="xslt" uri="http://www.w3.org/1999/XSL/Transform"/>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 180
- Joined: Wed Apr 20, 2005 5:43 pm
- Location: Victoria, BC, Canada
Re: (Relatively) new problem with NVDL validation of TEI Spe
Post by martindholmes »
HI Radu,
I've written off-list to get the patch to try.
Thanks,
Martin
I've written off-list to get the patch to try.
Thanks,
Martin
Return to “General NVDL Issues”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service