Tests invalid TokenizedType which is against P56 VC: ID Attribute Default. The "#FIXED" occurs in the DefaultDecl for the ID attribute "UniqueName".
<?xml version="1.0"?> <!-- validity constraint check for Production 56(Negative Test)--> <!DOCTYPE tokenizer [ <!ELEMENT tokenizer ANY> <!ATTLIST tokenizer UniqueName ID #FIXED "AC1999"> ]> <tokenizer> This is a Negative validity test for ID Attribute Default. Giving the attribute default as #FIXED </tokenizer>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>tokenizer</localName> <qualifiedName>tokenizer</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>UniqueName</localName> <qualifiedName>UniqueName</qualifiedName> <value>AC1999</value> <type>ID</type> </attribute> </attributes> </startElement> <char>\n</char> <char>T</char> <char>h</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>a</char> <char>\s</char> <char>N</char> <char>e</char> <char>g</char> <char>a</char> <char>t</char> <char>i</char> <char>v</char> <char>e</char> <char>\s</char> <char>v</char> <char>a</char> <char>l</char> <char>i</char> <char>d</char> <char>i</char> <char>t</char> <char>y</char> <char>\s</char> <char>t</char> <char>e</char> <char>s</char> <char>t</char> <char>\s</char> <char>f</char> <char>o</char> <char>r</char> <char>\s</char> <char>I</char> <char>D</char> <char>\s</char> <char>A</char> <char>t</char> <char>t</char> <char>r</char> <char>i</char> <char>b</char> <char>u</char> <char>t</char> <char>e</char> <char>\s</char> <char>D</char> <char>e</char> <char>f</char> <char>a</char> <char>u</char> <char>l</char> <char>t</char> <char>.</char> <char>\n</char> <char>G</char> <char>i</char> <char>v</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>a</char> <char>t</char> <char>t</char> <char>r</char> <char>i</char> <char>b</char> <char>u</char> <char>t</char> <char>e</char> <char>\s</char> <char>d</char> <char>e</char> <char>f</char> <char>a</char> <char>u</char> <char>l</char> <char>t</char> <char>\s</char> <char>a</char> <char>s</char> <char>\s</char> <char>#</char> <char>F</char> <char>I</char> <char>X</char> <char>E</char> <char>D</char> <char>\n</char> <endElement> <namespaceURI/> <localName>tokenizer</localName> <qualifiedName>tokenizer</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>tokenizer</localName> <qualifiedName>tokenizer</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>UniqueName</localName> <qualifiedName>UniqueName</qualifiedName> <value>AC1999</value> <type>ID</type> </attribute> </attributes> </startElement> <char>\n</char> <char>T</char> <char>h</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>a</char> <char>\s</char> <char>N</char> <char>e</char> <char>g</char> <char>a</char> <char>t</char> <char>i</char> <char>v</char> <char>e</char> <char>\s</char> <char>v</char> <char>a</char> <char>l</char> <char>i</char> <char>d</char> <char>i</char> <char>t</char> <char>y</char> <char>\s</char> <char>t</char> <char>e</char> <char>s</char> <char>t</char> <char>\s</char> <char>f</char> <char>o</char> <char>r</char> <char>\s</char> <char>I</char> <char>D</char> <char>\s</char> <char>A</char> <char>t</char> <char>t</char> <char>r</char> <char>i</char> <char>b</char> <char>u</char> <char>t</char> <char>e</char> <char>\s</char> <char>D</char> <char>e</char> <char>f</char> <char>a</char> <char>u</char> <char>l</char> <char>t</char> <char>.</char> <char>\n</char> <char>G</char> <char>i</char> <char>v</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>a</char> <char>t</char> <char>t</char> <char>r</char> <char>i</char> <char>b</char> <char>u</char> <char>t</char> <char>e</char> <char>\s</char> <char>d</char> <char>e</char> <char>f</char> <char>a</char> <char>u</char> <char>l</char> <char>t</char> <char>\s</char> <char>a</char> <char>s</char> <char>\s</char> <char>#</char> <char>F</char> <char>I</char> <char>X</char> <char>E</char> <char>D</char> <char>\n</char> <endElement> <namespaceURI/> <localName>tokenizer</localName> <qualifiedName>tokenizer</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |