[Bug 14909] New: Is method-type pattern in the serialization schema not well defined?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=14909

           Summary: Is method-type pattern in the serialization schema not
                    well defined?
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Serialization 3.0
        AssignedTo: zongaro@ca.ibm.com
        ReportedBy: gabipetrovay@gmail.com
         QAContact: public-qt-comments@w3.org


http://www.w3.org/2010/xslt-xquery-serialization/schema-for-parameters-for-xslt-xquery-serialization.xsd
defines

<xs:simpleType name="method-type">
  <xs:union>
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="html"/>
        <xs:enumeration value="text"/>
        <xs:enumeration value="xml"/>
        <xs:enumeration value="xhtml"/>
      </xs:restriction>
    </xs:simpleType>
    <xs:simpleType>
      <xs:restriction base="xs:QName">
        <xs:pattern value=".*:.*"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:union>
</xs:simpleType>

Does this make the following values valid method parameter values:
":"
":my-method"
"my-method:"

?

Why not having the pattern being:
<xs:pattern value=".+:.+"/>
?

".*:.*" is anyway a super-group of the valid QNames. What is actually wanted
is: ".+:.+".

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 23 November 2011 14:20:55 UTC