The unexpressible union of two attribute wildcards should be reported as an 
error.
----------------------------------------------------------------------------------

                 Key: XERCESJ-1239
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1239
             Project: Xerces2-J
          Issue Type: Bug
          Components: XML Schema Structures
    Affects Versions: 2.9.0
            Reporter: Michael Glavassevich
            Priority: Minor


If a complex type is derived by extension and both the base and the dervied 
type specify an attribute wildcard the {namespace constraint} of the {attribute 
wildcard} property is the union [1] of the namespace constraints of the two 
wildcards.  It's possible that this union can not be expressed, for instance if 
the namespace constraints on the two wildcards are ##other and ##local.  In 
such a case we should be reporting an error.

This bug is causing one test in the W3C XML Schema 1.0 2nd Edition test suite 
to fail:

msData/wildcards/test328873i.xsd

It should be noted that the XML Schema 1.0 2nd edition doesn't actually specify 
this constraint.  It's a bug in the spec which is going to be addressed by the 
working group at some point in the future.  See [2] for more information.

[1] http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/#cos-aw-union
[2] http://www.w3.org/Bugs/Public/show_bug.cgi?id=4390

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to