Bug #3088
closed
annotatedConfig.xsd does not allow xslt/@initialMode in {uri}local form
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Description
http://www.saxonica.com/documentation/index.html#!configuration/configuration-file/config-xslt
initialMode
...
A mode name (QName in Clark notation)
So I wrote the configuration file like this
...
<xslt initialMode="{http://www.example.com/foo}my-mode" />
...
and it did work. (on 9.7.0.14)
However, when the configuration file is validated with annotatedConfig.xsd, the validation is unsuccessful:
...
FORG0001: Invalid lexical QName {{http://www.example.com/foo}my...}
See http://www.w3.org/TR/xmlschema11-2/#cvc-complex-type clause 3
...
- Status changed from New to In Progress
- Assignee set to Debbie Lockett
- Priority changed from Low to Normal
- Status changed from In Progress to Resolved
- Applies to branch 9.8 added
- Fix Committed on Branch 9.7, 9.8 added
The configuration file schemas (config.xsd and annotatedConfig.xsd) incorrectly stated that the type for xslt/@initialTemplate and xslt/@initialMode must be xs:QName.
I have replaced these by a new type EQName (in the local http://saxon.sf.net/ns/configuration namespace) which may be either a local name, or a prefixed QName, or a name written using Clark notation (allowing either {uri}local or the extended QName notation Q{uri}local).
Fix committed on the 9.7 and 9.8 branches. The schemas in the samples resources download will be updated in due course.
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.7.0.15 added
Bug fix applied to the Saxon 9.7.0.15 maintenance release
- Fix Committed on Branch trunk added
- Fix Committed on Branch deleted (
9.8)
- Applies to branch deleted (
9.8)
Please register to edit this issue
Also available in: Atom
PDF