[Bug 18641] New: should 'wild062.n3.xml' be valid?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 18641] New: should 'wild062.n3.xml' be valid?

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18641

           Summary: should 'wild062.n3.xml' be valid?
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Saxon tests
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]
         QAContact: [hidden email]


I think test 'wild062.n3.xml' of group 'wild062' of set 'Wild' should be valid.

In this test case a content model with a lax wildcard and a local element
declaration 'f' is used to validate an element with two <f> element children.
One attributed to the local element declaration the second to the wildcard. The
second has an instance specified type definition which does not override the
locally declared type.

So as described in http://www.w3.org/TR/xmlschema11-1/#key-governing-type-elem:

  6 An ·instance-specified type definition· which ·overrides· the ·locally
declared type·.
  7 The ·locally declared type·.
  8 An ·instance-specified type definition·.

the governing type definition of the second <f> element will be the locally
declared type, because the locally declared type is listed before the instance
specified type definition, and thus cvc-complex-type.5 is not violated.

Best regards,
Andreas Meissl

--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug 18641] should 'wild062.n3.xml' be valid?

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18641

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Windows 3.1

--
You are receiving this mail because:
You are the QA Contact for the bug.