Valid form of Processing Instruction. Shows that whitespace character data is valid before end of processing instruction.
<?pitarget?> <?xmla <!DOCTYPE <[ CDATA [</doc> &a%b&#c?> <?pitarget ...?> <?pitarget ?> <?pitarget > ?> <doc/>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>xmla</target> <data><!DOCTYPE\s<[\sCDATA\s[</doc>\s&a%b&#c</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>...</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>>\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>xmla</target> <data><!DOCTYPE\s<[\sCDATA\s[</doc>\s&a%b&#c</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>...</data> </processingInstruction> <processingInstruction> <target>pitarget</target> <data/> </processingInstruction> <processingInstruction> <target>pitarget</target> <data>>\s</data> </processingInstruction> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |