Michael Hartle wrote: > Steven Noels wrote: > >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: > > <snip/> > > I recently had the same problem when I made a pipeline which returns the > DTD-conforming main content.xml file from OpenOffice zip archives; > trying to aggregate several content.xml from another Cocoon server via > HTTP, the parser told me that the content.xml files are not well-formed > anymore, thus showing exactly the same resolution behaviour as you > described. IIRC, there has been a thread not long ago where someone > (maybe David Crossley) posted that this is resolver and/or > parser-related, but I am not sure.
No i do not know anything about this and do not recall such a thread (but hey, there are so many :-) I will be doing some paid work with Cocoon tomorrow on files that match Steven's description. So i will try to reproduce the behaviour. I do recall once seeing XML comments from a DTD being passed into the stream. But it did not cause the issue that you reported. --David --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]