Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] setInternalDTDSubset

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <whoschek AT lbl.gov>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] setInternalDTDSubset
  • Date: Fri, 14 Jan 2005 15:17:28 -0800

Thanks, that fixes the two bugs, but the third that only occurs with crimson still exists:

cat wolf/w3c-xmlconformance/xmltest/valid/sa/090.xml
<!DOCTYPE doc [
<!ATTLIST e a NOTATION (n) #IMPLIED>
<!ELEMENT doc (e)*>
<!ELEMENT e (#PCDATA)>
<!NOTATION n PUBLIC "whatever">
]>
<doc></doc>

doc.toXML() output:
<?xml version="1.0"?>
<!DOCTYPE doc [
<!ATTLIST e a NOTATION n #IMPLIED>
<!ELEMENT doc (e)*>
<!NOTATION n PUBLIC "whatever">
]>
<doc />


On Jan 14, 2005, at 3:08 PM, Elliotte Harold wrote:

Wolfgang Hoschek wrote:

This is with xerces-2.6.2. Same bugs for JDK 1.5 with its internal xerces. In addition, the JDK 1.4 crimson (OSX) also breaks for
/w3c-xmlconformance/xmltest/valid/sa/090.xml

I've reproduced it. Fix is in CVS. I'm not 100% sure Xerces is right here, but I'm not sure it's wrong either. The SAX spec is unclear on this point. Thanks for the heads up!

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim





Archive powered by MHonArc 2.6.24.

Top of Page