Hi all, Has anyone experienced problems with the Resolver when simply generating & immediately (re-)serializing an XML document, when this document refers to a PUBLIC DTD which includes a number of external parameter entities.
>From what i can see now, the comments inside the external entities are inserted as-is in the stream, unfortunately not inside a local declaration subset but immediately after the SYSTEM id: C:\bin\win32>nc localhost 8080 GET /hagal/content/courses/bloblo.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE document PUBLIC "-//Outerthought//DTD Site document//EN" "document.dtd"<!-- The rules attribute defines which rules to draw between cells: [...] (snipped a lot of comments originating from the external parameter entities) ============================================================== -->> <document> <info> <title>Empty document</title><displaytitle>empty</displaytitle> </info> <body><topic><para>blablabla</para></topic> </body></document> As you can see, the comments from inside the referred entities are not put inside a local declaration subset: <!DOCTYPE foo PUBLIC "pub-id" "system-id" [ <!-- comments should be inserted here I suppose --> ]> <document> [etc] </document> If this is a bug, it is a Resolver bug, I guess. Steven Noels http://outerthought.org/ (+32)478 292900 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]