Whitespace required between attributes
<!DOCTYPE root [ <!ELEMENT root ANY> <!ATTLIST root att1 CDATA #IMPLIED> <!ATTLIST root att2 CDATA #IMPLIED> ]> <root att1="value1"att2="value2"> <!-- whitespace required between attributes --> </root>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att1</localName> <qualifiedName>att1</qualifiedName> <value>value1</value> <type>CDATA</type> </attribute> <attribute> <namespaceURI/> <localName>att2</localName> <qualifiedName>att2</qualifiedName> <value>value2</value> <type>CDATA</type> </attribute> </attributes> </startElement> <ignorable>\n</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <ignorable>\s</ignorable> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |