Thanks for the response. The error you identify is in xercesSamples.jar as
downloaded in the Xerces-J-src.1.0.1 (and I assume Xerces-J-bin.1.0.1.jar).
Specifically, the error is in IteratorView.java. Has anyone been able to run
the java samples in 1.0.1 with the distributed sample file
"personal-schema.xml"? Or, are there other corrections which must be made to
the download?

-----Original Message-----
From: Andy Clark [mailto:[EMAIL PROTECTED]
Sent: Monday, February 07, 2000 2:55 PM
To: [EMAIL PROTECTED]
Subject: Re: Error Running Samples Using Schema


Scott Okupski wrote:
> I can run the samples (IteratorView and TreeWalker) without problem when
> using the supplied data file "personal.xml". However, If I try to run the
> samples using "personal-schema.xml", my system hangs at the command prompt
> with the following output: http://apache.org/xml/properties/dom-node

First, the property is "http://xml.org/sax/properties/dom-node";.
Second, we don't support this property. Through a defect in the
documentation, this property never showed up in the 1.0.1 docs.
The next release should solve this documentation problem. 

However, this SAX2 property is only to be used by SAX parsers
that are traversing a DOM tree in order to produce callbacks to
the SAX handlers. Perhaps we should consider adding a
parser(Document) method to the SAXParser. But it seems kind of
overkill to have a parser when an instance of the DOM Level 2
traversal APIs could address this problem.

-- 
Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED]

Reply via email to