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.
At some point, I'd like to modify the tools to do a parse on the client side, and send a compressed image up to the server, but that won't be for the 1.0 release.
-- Tom Bradford - http://www.tbradford.org Architect - XQRL (XQuery Engine) - http://www.xqrl.com Apache Xindice (Native XML Database) - http://xml.apache.org/xindice Project Labrador (Web Services Framework) - http://notdotnet.org
