enumerated types are NMTOKEN or NOTATION lists
<!DOCTYPE doc [ <!ELEMENT doc (a|b)*> <!ELEMENT a ANY> <!ELEMENT b ANY> <!NOTATION a SYSTEM "a"> <!ATTLIST a att (a|b) #IMPLIED> <!ATTLIST b att NOTATION (a|b) #IMPLIED> <!NOTATION b SYSTEM "b"> ]> <doc/>
| Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<notation>
<name>a</name>
<systemID>file:/home/elharo/SAXTest/xmlconf/oasis/a</systemID>
</notation>
<notation>
<name>b</name>
<systemID>file:/home/elharo/SAXTest/xmlconf/oasis/b</systemID>
</notation>
<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/>
<resolveEntity>
<systemID>file:/home/elharo/SAXTest/xmlconf/oasis/p57pass1.xml</systemID>
</resolveEntity>
<notation>
<name>a</name>
<systemID>a</systemID>
</notation>
<notation>
<name>b</name>
<systemID>b</systemID>
</notation>
<startElement>
<namespaceURI/>
<localName>doc</localName>
<qualifiedName>doc</qualifiedName>
<attributes/>
</startElement>
<endElement>
<namespaceURI/>
<localName>doc</localName>
<qualifiedName>doc</qualifiedName>
</endElement>
<endDocument/>
</ConformanceResults>
|