schematron no more schema aware in Oxygen 16.0
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
schematron no more schema aware in Oxygen 16.0
Hi,
I just installed Oxygen 16.0 to test the schematron-quick-fix (nice feature - thanks a lot for that). However, it appears that the validation is no more schema aware. Since some patterns evaluate the class-attribute they no more work. I also tested it with <value-of select="@class"/> inside the a message and it returns nothing.
In properties the option XML / XML-Parser / Schematron / "schema aware" is still checked but seems not to have any effect. In 15.2 it works.
Thanks and regards,
Patrik
I just installed Oxygen 16.0 to test the schematron-quick-fix (nice feature - thanks a lot for that). However, it appears that the validation is no more schema aware. Since some patterns evaluate the class-attribute they no more work. I also tested it with <value-of select="@class"/> inside the a message and it returns nothing.
In properties the option XML / XML-Parser / Schematron / "schema aware" is still checked but seems not to have any effect. In 15.2 it works.
Thanks and regards,
Patrik
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: schematron no more schema aware in Oxygen 16.0
Dear Patrik,
Please note that Schematron Quick-fixes are not yet implemented in 16.0. We implemented the core support for Quick-fixes and added Quick-fixes for XSLT. In the following releases of oXygen the Quick-fixes support will be updated to add schemas and also XML, including Schematon Quick-fixes. There is a W3C community group that we started to discuss and agree on a common format for these http://www.w3.org/community/quickfix/ and Nico Kutscherauer provided an initial proposal including an implementation at http://www.schematron-quickfix.com.
Back to your Schematron issue... The Schematron implementation in oXygen is based on Skeleton and uses XSLT and oXygen uses Saxon as the XSLT engine. Version 16 changed one of the default Saxon EE options, Options -> Preferences -- XML / XSLT-FO-XQuery / XSLT / Saxon / Saxon-HE/PE/EE -- Validation of the source file ("-val") from "Lax schema validation" to "Skip schema validation". Please set it to lax validation to get the default values.
The reason for this change was to align the default options in oXygen with the Saxon EE default options as some people were surprised to get a different behavior in oXygen compared with using Saxon in the command line.
We will think about a better approach for this, maybe automatically force the lax validation for Saxon EE when we use it for Schematron and the "schema aware" option in Schematron is set.
Best Regards,
George
Please note that Schematron Quick-fixes are not yet implemented in 16.0. We implemented the core support for Quick-fixes and added Quick-fixes for XSLT. In the following releases of oXygen the Quick-fixes support will be updated to add schemas and also XML, including Schematon Quick-fixes. There is a W3C community group that we started to discuss and agree on a common format for these http://www.w3.org/community/quickfix/ and Nico Kutscherauer provided an initial proposal including an implementation at http://www.schematron-quickfix.com.
Back to your Schematron issue... The Schematron implementation in oXygen is based on Skeleton and uses XSLT and oXygen uses Saxon as the XSLT engine. Version 16 changed one of the default Saxon EE options, Options -> Preferences -- XML / XSLT-FO-XQuery / XSLT / Saxon / Saxon-HE/PE/EE -- Validation of the source file ("-val") from "Lax schema validation" to "Skip schema validation". Please set it to lax validation to get the default values.
The reason for this change was to align the default options in oXygen with the Saxon EE default options as some people were surprised to get a different behavior in oXygen compared with using Saxon in the command line.
We will think about a better approach for this, maybe automatically force the lax validation for Saxon EE when we use it for Schematron and the "schema aware" option in Schematron is set.
Best Regards,
George
George Cristian Bina
-
- Posts: 280
- Joined: Thu Nov 28, 2013 9:32 am
- Location: Hamburg/Germany
- Contact:
Re: schematron no more schema aware in Oxygen 16.0
Hi George,
I already realized that my sqf-additions to my schematron files had no effect...
My enthusiasm must have blinded me. Still looks very promising, nut I guess you have no idea when we can hope for his being included into oxygen!?
However, you hint with the -val option solved my actual problem. Thanks.
Patrik
I already realized that my sqf-additions to my schematron files had no effect...
My enthusiasm must have blinded me. Still looks very promising, nut I guess you have no idea when we can hope for his being included into oxygen!?
However, you hint with the -val option solved my actual problem. Thanks.
Patrik
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: schematron no more schema aware in Oxygen 16.0
Hi Patrik,
Schematron Quick-fixes are scheduled for short/medium term so I expect to be able to offer this functionality soon.
Best Regards,
George
Schematron Quick-fixes are scheduled for short/medium term so I expect to be able to offer this functionality soon.
Best Regards,
George
George Cristian Bina
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: schematron no more schema aware in Oxygen 16.0
Hi,
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 16.0, 2014060420 (released on June 11th):
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2014060420
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 16.0, 2014060420 (released on June 11th):
You can download it from our web site:Schematron: The option 'Use Saxon EE (schema aware) for xslt2 query binding' from (XML > XML Parser > Schematron) no longer had any effect.
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2014060420
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
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