Project

Profile

Help

Bug #4458

closed

annotatedConfig.xsd does not allow saxon:attribute-order with *

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

Status:
Closed
Priority:
Normal
Category:
Serialization
Sprint/Milestone:
-
Start date:
2020-02-13
Due date:
% Done:

100%

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

Description

This @saxon:attribute-order is valid according to http://www.saxonica.com/documentation/index.html#!extensions/output-extras/serialization-parameters.

<?xml version="1.0" encoding="UTF-8"?>
<configuration edition="EE" xmlns="http://saxon.sf.net/ns/configuration"
	xmlns:saxon="http://saxon.sf.net/">
	<serialization saxon:attribute-order="a b c * xml:space" />
</configuration>

However, samples/config/annotatedConfig.xsd does not allow it.

$java -cp saxon9ee.jar com.saxonica.Validate -xsd:https://dev.saxonica.com/repos/archive/opensource/latest9.9/samples/config/annotatedConfig.xsd -s:config.xml
...
Validation error on line 4 column 61 of config.xml:
  FORG0001: Invalid lexical QName {*}
  See http://www.w3.org/TR/xmlschema-2/#cvc-complex-type clause 3

Please register to edit this issue

Also available in: Atom PDF