This test case covers legal ENTITY (Names) as per production 5.
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE LegalName [ <!ELEMENT LegalName ANY> <!ELEMENT LegalName0 ANY> <!ATTLIST LegalName0 attr0 CDATA #IMPLIED> <!ELEMENT LegalName1 ANY> <!ATTLIST LegalName1 attr1 CDATA #IMPLIED> <!ELEMENT LegalName2 ANY> <!ATTLIST LegalName2 attr2 CDATA #IMPLIED> <!ELEMENT LegalName3 ANY> <!ATTLIST LegalName3 attr3 CDATA #IMPLIED> <!ELEMENT LegalName4 ANY> <!ATTLIST LegalName4 attr4 CDATA #IMPLIED> <!ELEMENT LegalName5 ANY> <!ATTLIST LegalName5 attr5 CDATA #IMPLIED> <!ELEMENT LegalName6 ANY> <!ATTLIST LegalName6 attr6 CDATA #IMPLIED> <!ELEMENT LegalName7 ANY> <!ATTLIST LegalName7 attr7 CDATA #IMPLIED> <!ELEMENT LegalName8 ANY> <!ATTLIST LegalName8 attr8 CDATA #IMPLIED> <!ELEMENT LegalName9 ANY> <!ATTLIST LegalName9 attr9 CDATA #IMPLIED> <!ELEMENT LegalName10 ANY> <!ATTLIST LegalName10 attr10 CDATA #IMPLIED> <!ELEMENT LegalName11 ANY> <!ATTLIST LegalName11 attr11 CDATA #IMPLIED> <!ELEMENT LegalName12 ANY> <!ATTLIST LegalName12 attr12 CDATA #IMPLIED> <!ELEMENT LegalName13 ANY> <!ATTLIST LegalName13 attr13 CDATA #IMPLIED> <!ELEMENT LegalName14 ANY> <!ATTLIST LegalName14 attr14 CDATA #IMPLIED> <!ELEMENT LegalName15 ANY> <!ATTLIST LegalName15 attr15 CDATA #IMPLIED> <!ELEMENT LegalName16 ANY> <!ATTLIST LegalName16 attr16 CDATA #IMPLIED> <!ELEMENT LegalName17 ANY> <!ATTLIST LegalName17 attr17 CDATA #IMPLIED> <!ELEMENT LegalName18 ANY> <!ATTLIST LegalName18 attr18 CDATA #IMPLIED> <!ELEMENT LegalName19 ANY> <!ATTLIST LegalName19 attr19 CDATA #IMPLIED> <!ELEMENT LegalName20 ANY> <!ATTLIST LegalName20 attr20 CDATA #IMPLIED> <!ELEMENT LegalName21 ANY> <!ATTLIST LegalName21 attr21 CDATA #IMPLIED> <!ELEMENT LegalName22 ANY> <!ATTLIST LegalName22 attr22 CDATA #IMPLIED> <!ELEMENT LegalName23 ANY> <!ATTLIST LegalName23 attr23 CDATA #IMPLIED> <!ELEMENT LegalName24 ANY> <!ATTLIST LegalName24 attr24 CDATA #IMPLIED> <!ELEMENT LegalName25 ANY> <!ATTLIST LegalName25 attr25 CDATA #IMPLIED> <!ELEMENT LegalName26 ANY> <!ATTLIST LegalName26 attr26 CDATA #IMPLIED> <!ELEMENT LegalName27 ANY> <!ATTLIST LegalName27 attr27 CDATA #IMPLIED> <!ELEMENT LegalName28 ANY> <!ATTLIST LegalName28 attr28 CDATA #IMPLIED> <!ELEMENT LegalName29 ANY> <!ATTLIST LegalName29 attr29 CDATA #IMPLIED> <!ELEMENT LegalName30 ANY> <!ATTLIST LegalName30 attr30 CDATA #IMPLIED> <!ELEMENT LegalName31 ANY> <!ATTLIST LegalName31 attr31 CDATA #IMPLIED> <!ELEMENT LegalName32 ANY> <!ATTLIST LegalName32 attr32 CDATA #IMPLIED> <!ELEMENT LegalName33 ANY> <!ATTLIST LegalName33 attr33 CDATA #IMPLIED> <!ELEMENT LegalName34 ANY> <!ATTLIST LegalName34 attr34 CDATA #IMPLIED> <!ELEMENT LegalName35 ANY> <!ATTLIST LegalName35 attr35 CDATA #IMPLIED> <!ELEMENT LegalName36 ANY> <!ATTLIST LegalName36 attr36 CDATA #IMPLIED> <!ELEMENT LegalName37 ANY> <!ATTLIST LegalName37 attr37 CDATA #IMPLIED> <!ELEMENT LegalName38 ANY> <!ATTLIST LegalName38 attr38 CDATA #IMPLIED> <!ELEMENT LegalName39 ANY> <!ATTLIST LegalName39 attr39 CDATA #IMPLIED> <!ELEMENT LegalName40 ANY> <!ATTLIST LegalName40 attr40 CDATA #IMPLIED> <!ELEMENT LegalName41 ANY> <!ATTLIST LegalName41 attr41 CDATA #IMPLIED> <!ELEMENT LegalName42 ANY> <!ATTLIST LegalName42 attr42 CDATA #IMPLIED> <!ELEMENT LegalName43 ANY> <!ATTLIST LegalName43 attr43 CDATA #IMPLIED> <!ENTITY Name: "Test"> <!ENTITY NameÀ "Test"> <!ENTITY NameÁ "Test"> <!ENTITY Name˾ "Test"> <!ENTITY Name "Test"> <!ENTITY Nameà "Test"> <!ENTITY Name˽ "Test"> <!ENTITY Name˿ "Test"> <!ENTITY NameͰ "Test"> <!ENTITY Nameͱ "Test"> <!ENTITY Nameͼ "Test"> <!ENTITY Nameͽ "Test"> <!ENTITY NameͿ "Test"> <!ENTITY Name "Test"> <!ENTITY Name῾ "Test"> <!ENTITY Name "Test"> <!ENTITY Name "Test"> <!ENTITY Name "Test"> <!ENTITY Name⁰ "Test"> <!ENTITY Nameⁱ "Test"> <!ENTITY Name "Test"> <!ENTITY Name "Test"> <!ENTITY NameⰀ "Test"> <!ENTITY NameⰁ "Test"> <!ENTITY Name "Test"> <!ENTITY Name "Test"> <!ENTITY Name、 "Test"> <!ENTITY Name。 "Test"> <!ENTITY Name "Test"> <!ENTITY Name "Test"> <!ENTITY Name豈 "Test"> <!ENTITY Name更 "Test"> <!ENTITY Name� "Test"> <!ENTITY Name- "Test"> <!ENTITY Name. "Test"> <!ENTITY NameA "Test"> <!ENTITY Namez "Test"> <!ENTITY Name0 "Test"> <!ENTITY Name· "Test"> <!ENTITY Namè "Test"> <!ENTITY Namé "Test"> <!ENTITY Nameͮ "Test"> <!ENTITY Nameͯ "Test"> <!ENTITY Name‿ "Test"> ]> <!-- 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> <LegalName0 attr0="Name:" /> <LegalName1 attr1="NameÀ" /> <LegalName2 attr2="NameÁ" /> <LegalName3 attr3="Name˾" /> <LegalName4 attr4="NameÂ" /> <LegalName5 attr5="NameÃ" /> <LegalName6 attr6="Name˽" /> <LegalName7 attr7="Name˿" /> <LegalName8 attr8="NameͰ" /> <LegalName9 attr9="Nameͱ" /> <LegalName10 attr10="Nameͼ" /> <LegalName11 attr11="Nameͽ" /> <LegalName12 attr12="NameͿ" /> <LegalName13 attr13="Name" /> <LegalName14 attr14="Name῾" /> <LegalName15 attr15="Name" /> <LegalName16 attr16="Name" /> <LegalName17 attr17="Name" /> <LegalName18 attr18="Name⁰" /> <LegalName19 attr19="Nameⁱ" /> <LegalName20 attr20="Name" /> <LegalName21 attr21="Name" /> <LegalName22 attr22="NameⰀ" /> <LegalName23 attr23="NameⰁ" /> <LegalName24 attr24="Name" /> <LegalName25 attr25="Name" /> <LegalName26 attr26="Name、" /> <LegalName27 attr27="Name。" /> <LegalName28 attr28="Name" /> <LegalName29 attr29="Name" /> <LegalName30 attr30="Name豈" /> <LegalName31 attr31="Name更" /> <LegalName32 attr32="Name�" /> <LegalName33 attr33="Name-" /> <LegalName34 attr34="Name." /> <LegalName35 attr35="NameA" /> <LegalName36 attr36="Namez" /> <LegalName37 attr37="Name0" /> <LegalName38 attr38="Name·" /> <LegalName39 attr39="Namè" /> <LegalName40 attr40="Namé" /> <LegalName41 attr41="Nameͮ" /> <LegalName42 attr42="Nameͯ" /> <LegalName43 attr43="Name‿" /> </LegalName>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |