RE: parser exception

2001-10-08 Thread Sivasubramaniam, Latha
Lorraine, I encountered the same problem and have not found a solution yet. But the workaround is to make the statement %parament; as part of x.dtd. This may not be the way you would like to use it though. Cheers, Latha -Original Message- From: L Callahan [mailto:[EMAI

parser exception

2001-10-08 Thread L Callahan
Hello, Below is a minimal xml file with a DOCTYPE declaration that succeeds if xerces 1.3.1 is used but files with a Null Pointer Exception on any later version of xerces (such as 1.4.3). The files x.dtd and y.dtd that the prolog references exist but are empty. A stack trace shows that the fail

reading a dtd using ClassLoader.getSystemResource

2001-10-08 Thread torben
Hello I am parsing xml-files that have a doctype-declaration with the name of their (system) dtd written into. Usually I have to specify in the doctype-declaration the relative path of the dtd if I want it to be found by the DOMParser. Instead we want this dtd to be found automatically in the cla

Checksum error in Xerces-J-bin.1.4.3.tar.gz ?

2001-10-08 Thread sylvain . devillers
Hello, I tried to untar the binary distribution of XERCES-J .1.4.3 http://xml.apache.org/dist/xerces-j/Xerces-J-bin.1.4.3.tar.gz (20-Aug-2001 13:27 2.5M Latest binaries) and I got a checksum error. Did anyone get the same problem ? Apologizes in case my question is irrelevant,

Validating xsl stylesheets

2001-10-08 Thread bluetkemeier
Hello, I am writing an application where the user can enter an xsl stylesheet. I use Xerces to parse this input. When turning on validation the following error occurs: Warning: validation was turned on but an org.xml.sax.ErrorHandler was not set, which is probably not what is desired. Parser wil

Using DOM events

2001-10-08 Thread Software AG
Hi, there. In my application I need to know when a DOM tree is changed. As there is a nice event model since DOM level 2, I tried to use that. But whatever I try, there are no events fired, although the tree gets changed. Can someone shed some light on this, or provide me a little example? The co