Re: Accessing xml and doctype declaration via SAX

2008-03-12 Thread Daniel Yokomizo
On Tue, Mar 11, 2008 at 7:13 PM, Michael Glavassevich <[EMAIL PROTECTED]> wrote: > Hi Daniel, > > "Daniel Yokomizo" <[EMAIL PROTECTED]> wrote on 03/11/2008 05:31:53 > PM: > > > Hi, > > > > I'm writing a xml based template (I have some reasons to not use > > XSLT for this) and I'm using SA

Re: Xinclude

2008-03-12 Thread Lars Vogel
Hi Michael, Thank you for your response and explanation. I will then try to filter these special signs ( ) out via an XSLT transformation or via a small Java program. To your question:No, I didn't look at the byte sequence. How can I do this (under MS Windows)? Best regards, Lars 2008/3/12, Mi

Re: Xinclude

2008-03-12 Thread Michael Glavassevich
Hi Lars, When you say both files look the same have you actually taken a look at the byte sequences? If you have you'll see that there are sequences of OD OA (CR LF) all over the place in JavaScript.java. The XInclude processor is doing what it's supposed to do: literally including every character

Using LSParser with Local DTD gives exception: Recursive entity reference "%svg-framework.mod"

2008-03-12 Thread Rob Davis-5
I am gettting the following exception attempting to parse an SVG XML document and use a local copy of the SVG DTD. org.w3c.dom.ls.LSException: Recursive entity reference "%svg-framework.mod". (Reference path: %svg-framework.mod -> %svg-framework.mod -> %svg-framework.mod), [Fatal Error] svg11.dt