Test demonstrates that all lower case letters are valid for the Attribute in a Start-tag.
<!DOCTYPE doc [ <!ELEMENT doc (#PCDATA)> <!ATTLIST doc abcdefghijklmnopqrstuvwxyz CDATA #IMPLIED> ]> <doc abcdefghijklmnopqrstuvwxyz="v1"></doc>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>abcdefghijklmnopqrstuvwxyz</localName> <qualifiedName>abcdefghijklmnopqrstuvwxyz</qualifiedName> <value>v1</value> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/sa/014.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>abcdefghijklmnopqrstuvwxyz</localName> <qualifiedName>abcdefghijklmnopqrstuvwxyz</qualifiedName> <value>v1</value> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |