This test case covers legal Attribute (Names) as per production 5.
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE LegalName [ <!ELEMENT LegalName ANY> <!ATTLIST LegalName :attr CDATA #IMPLIED> <!ATTLIST LegalName Àattr CDATA #IMPLIED> <!ATTLIST LegalName Áattr CDATA #IMPLIED> <!ATTLIST LegalName ˾attr CDATA #IMPLIED> <!ATTLIST LegalName Âattr CDATA #IMPLIED> <!ATTLIST LegalName Ãattr CDATA #IMPLIED> <!ATTLIST LegalName ˽attr CDATA #IMPLIED> <!ATTLIST LegalName ˿attr CDATA #IMPLIED> <!ATTLIST LegalName Ͱattr CDATA #IMPLIED> <!ATTLIST LegalName ͱattr CDATA #IMPLIED> <!ATTLIST LegalName ͼͽattr CDATA #IMPLIED> <!ATTLIST LegalName ͽͿattr CDATA #IMPLIED> <!ATTLIST LegalName Ϳattr CDATA #IMPLIED> <!ATTLIST LegalName ῾attr CDATA #IMPLIED> <!ATTLIST LegalName ῾attr CDATA #IMPLIED> <!ATTLIST LegalName attr CDATA #IMPLIED> <!ATTLIST LegalName attr CDATA #IMPLIED> <!ATTLIST LegalName ⁰attr CDATA #IMPLIED> <!ATTLIST LegalName ⁰ⁱattr CDATA #IMPLIED> <!ATTLIST LegalName ⁱattr CDATA #IMPLIED> <!ATTLIST LegalName Ⰰattr CDATA #IMPLIED> <!ATTLIST LegalName ⰀⰁattr CDATA #IMPLIED> <!ATTLIST LegalName ⰀⰁattr CDATA #IMPLIED> <!ATTLIST LegalName Ⰱattr CDATA #IMPLIED> <!ATTLIST LegalName 、attr CDATA #IMPLIED> <!ATTLIST LegalName 、。attr CDATA #IMPLIED> <!ATTLIST LegalName 、。attr CDATA #IMPLIED> <!ATTLIST LegalName 。attr CDATA #IMPLIED> <!ATTLIST LegalName 豈attr CDATA #IMPLIED> <!ATTLIST LegalName 豈更attr CDATA #IMPLIED> <!ATTLIST LegalName 豈。attr CDATA #IMPLIED> <!ATTLIST LegalName 更豈attr CDATA #IMPLIED> <!ATTLIST LegalName �更豈attr CDATA #IMPLIED> <!ATTLIST LegalName attr-�更豈 CDATA #IMPLIED> <!ATTLIST LegalName attr.-�更 CDATA #IMPLIED> <!ATTLIST LegalName A.-�attr CDATA #IMPLIED> <!ATTLIST LegalName zA.-attr CDATA #IMPLIED> <!ATTLIST LegalName attr0zA. CDATA #IMPLIED> <!ATTLIST LegalName attr·0zA CDATA #IMPLIED> <!ATTLIST LegalName attr̀·0z CDATA #IMPLIED> <!ATTLIST LegalName attŕ̀·0 CDATA #IMPLIED> <!ATTLIST LegalName attrͮ́̀· CDATA #IMPLIED> <!ATTLIST LegalName attrͯͮ́̀ CDATA #IMPLIED> <!ATTLIST LegalName attr‿ͯͮ́ CDATA #IMPLIED> <!ATTLIST LegalName attr⁀‿ͯͮ CDATA #IMPLIED> <!ATTLIST LegalName null⁀‿ͯattr CDATA #IMPLIED> <!ATTLIST LegalName nullnull⁀‿attr CDATA #IMPLIED> <!ATTLIST LegalName nullnullnull⁀attr CDATA #IMPLIED> ]> <!-- Legal Names containing one to four characters in order from the list below used in Attr delcs and attributes. x003A, 0x00C0, 0x00C1, 0x02FE, 0x00C2, 0x00C3, 0x02FD, 0x02FF, 0x0370, 0x0371, 0x037C, 0x037D, 0x037F, 0x0380, 0x1FFE, 0x1FFF, 0x200C, 0x200D, 0x2070, 0x2071, 0x218E, 0x218F, 0x2C00, 0x2C01, 0x2FEE, 0x2FEF, 0x3001, 0x3002, 0xD7FE, 0xD7FF, 0xF900, 0xF901, 0xFFFD, 0x002D, 0x002E, 0x0041, 0x007A, 0x0030, 0x00B7, 0x0300, 0x0301, 0x036E, 0x036F, 0x203F, 0x2040 --> <LegalName :attr="attrValue" Àattr="attrValue" Áattr="attrValue" ˾attr="attrValue" Âattr="attrValue" Ãattr="attrValue" ˽attr="attrValue" ˿attr="attrValue" Ͱattr="attrValue" ͱattr="attrValue" ͼͽattr="attrValue" ͽͿattr="attrValue" Ϳattr="attrValue" ῾attr="attrValue" ῾attr="attrValue" attr="attrValue" attr="attrValue" ⁰attr="attrValue" ⁰ⁱattr="attrValue" ⁱattr="attrValue" Ⰰattr="attrValue" ⰀⰁattr="attrValue" ⰀⰁattr="attrValue" Ⰱattr="attrValue" 、attr="attrValue" 、。attr="attrValue" 、。attr="attrValue" 。attr="attrValue" 豈attr="attrValue" 豈更attr="attrValue" 豈。attr="attrValue" 更豈attr="attrValue" �更豈attr="attrValue" attr-�更豈="attrValue" attr.-�更="attrValue" A.-�attr="attrValue" zA.-attr="attrValue" attr0zA.="attrValue" attr·0zA="attrValue" attr̀·0z="attrValue" attŕ̀·0="attrValue" attrͮ́̀·="attrValue" attrͯͮ́̀="attrValue" attr‿ͯͮ́="attrValue" attr⁀‿ͯͮ="attrValue" null⁀‿ͯattr="attrValue" nullnull⁀‿attr="attrValue" nullnullnull⁀attr="attrValue" />
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/valid/P05/ibm05v03.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |