Tests all 4 legal white space characters - #x20 #x9 #xD #xA
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE book [ <!ELEMENT book ANY> <!-- This test case covers 0 legal character ranges plus 4 discrete legal characters for production 03. --> <?NAME_20- _09- _0D- _0A- This is a PI target ?> ]> <book/>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>NAME_20-</target> <data>_09-\t_0D-\n_0A-\n\n\sThis\sis\sa\sPI\starget\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>NAME_20-</target> <data>_09-\t_0D-\n_0A-\n\n\sThis\sis\sa\sPI\starget\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |