You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Alexander Schatten <al...@gmx.net> on 2002/02/27 15:52:08 UTC
Re: Document malformed?? Serious Problem/Bug!
Tom Bradford wrote:
> On Tuesday, February 26, 2002, at 03:22 PM, Alexander Schatten wrote:
>
>
> Do the documents reference a DTD that is stored in a relative file
> location? If so, the server is looking for the DTDs relative to itself,
> and can't find them. This is because parsing actually happens in the
> server when you're loading documents, and not at the command line tool
> location. To work around this, you'd have to modify the files to
> reference an absolute file location or URI.
well, as I mentioned: simply download Batik and try out all of the SVG
examples. out of 25 just one worked; they are o.k. in fact they hace a
DTD reference, but an absolute one:
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
and most interestigly also the one that works has this reference. so
they do not differ in some basic property.
(btw. I detected this problem also with some of my own documents, some
worked, some not; thought they are validated. but I would need to send
them to you for testing, so simply try it with the batik examples!)
I think this is a serious bug/problem and should be solved? or is there
a basic misunderstanding on my side?
thank you
Alex