http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2027 *** shadow/2027 Wed Jun 6 08:36:26 2001 --- shadow/2027.tmp.10833 Wed Jun 6 08:36:26 2001 *************** *** 0 **** --- 1,59 ---- + +============================================================================+ + | The parser does not support some of character class block escapes used in | + +----------------------------------------------------------------------------+ + | Bug #: 2027 Product: Xerces-J | + | Status: NEW Version: 1.4 | + | Resolution: Platform: Other | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: Schema-Datatypes | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + For a simpleType derived by restriction, with the facet pattern, if the regular + expression in a pattern is of the form \p{IsBlock} where Block is a valid Block + Name as specified in Section 6.F of the XML Schema Part 2: datatypes W3C + proposed recommendation, the parser reports an error for only some of the Block + Names listed in this section of the specification. A sample schema that + reproduces this error is as below. + + Schema: D6_fTest.xsd + ===================== + <?xml version="1.0"?> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> + <xs:simpleType name="Cyrillic"> + <xs:restriction base="xs:string"> + <xs:pattern value="\p{IsCyrillic}"/> + </xs:restriction> + </xs:simpleType> + + <xs:element name="root"> + <xs:complexType> + <xs:sequence> + <xs:element name="elCyrillic" type="Cyrillic" + maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:schema> + + + Instance: D6_fTest.xml + ======================= + <?xml version="1.0" encoding="UTF-8"?> + <root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:noNamespaceSchemaLocation="D6_fTest.xsd"> + + <elCyrillic>Ё</elCyrillic> + <elCyrillic>Ӹ</elCyrillic> + </root> + + The error that appears for the above schema is Datatype Error: Unknown Property. + Not all block escapes result in this error. For the block names that raise + this error please look at Section 6.F of the XML Schema Part 2: datatypes W3C + proposed recomendation, for block names and they can be tested with the sample + above. \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
