SGML's NUTOKEN is not allowed.
<!DOCTYPE root [ <!ELEMENT root EMPTY> <!-- SGML-ism: illegal attribute types --> <!ATTLIST root number NUTOKEN "1" > ]> <root/>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/not-wf/attlist01.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |