Tom Bradford wrote: > On Tuesday, February 26, 2002, at 03:22 PM, Alexander Schatten wrote: > > I have the problem, that Xindice often tells me that a XML document is > > malformed, when I try to add it, though this is definitly not true. I > > checked it using validating parsers. > > > > to test it, you can try to add all SVG examples from batik. only one > > will be added, all others are declared to be invalid, which > > is--obviously--not true. > > > > any ideas about this problem? > > 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.
Can I add a custom EntityResolver to xindice? References to absolute file location sounds very bad. Martin -- Martin Holz <[EMAIL PROTECTED]> phone: 0049-30-39977 218 FIZ CHEMIE BERLIN
