Tests the IDREFS (is a Names) VC
<!DOCTYPE root [ <!ELEMENT root ANY> <!ATTLIST root id ID #IMPLIED idref IDREF #IMPLIED idrefs IDREFS #IMPLIED > ]> <!-- Values of type IDREFS must match the names production --> <root idrefs="d36 36d"> </root>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>idrefs</localName> <qualifiedName>idrefs</qualifiedName> <value>d36\s36d</value> <type>IDREFS</type> </attribute> </attributes> </startElement> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/invalid/id07.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>idrefs</localName> <qualifiedName>idrefs</qualifiedName> <value>d36\s36d</value> <type>IDREFS</type> </attribute> </attributes> </startElement> <char>\n</char> <endElement> <namespaceURI/> <localName/> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |