various satisfaction of an NMTOKENS attribute value.
<!DOCTYPE doc [ <!ELEMENT doc (A*)> <!ELEMENT A EMPTY> <!ATTLIST A att NMTOKENS #IMPLIED> ]> <doc> <A att="abc"/><A att="abc def . :"/><A att=" abc def "/> </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/> </startElement> <ignorable>\n</ignorable> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc\sdef\s.\s:</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc\sdef</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> </endElement> <ignorable>\n</ignorable> <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/oasis/p08pass1.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <ignorable>\n</ignorable> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>A</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc\sdef\s.\s:</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>A</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc\sdef</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>A</qualifiedName> </endElement> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName/> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |