Project

Profile

Help

Bug #3088

closed

annotatedConfig.xsd does not allow xslt/@initialMode in {uri}local form

Added by T Hata over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
2016-12-23
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7, trunk
Fixed in Maintenance Release:
Platforms:

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
...
Actions #1

Updated by Michael Kay over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Debbie Lockett
  • Priority changed from Low to Normal
Actions #2

Updated by Debbie Lockett over 5 years ago

  • 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.

Actions #3

Updated by O'Neil Delpratt over 5 years ago

  • 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

Actions #4

Updated by O'Neil Delpratt almost 5 years ago

  • Fix Committed on Branch trunk added
  • Fix Committed on Branch deleted (9.8)
Actions #5

Updated by O'Neil Delpratt almost 5 years ago

  • Applies to branch deleted (9.8)

Please register to edit this issue

Also available in: Atom PDF