cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Noels" <>
Subject entity resolver woes
Date Tue, 22 Jan 2002 14:13:12 GMT
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

>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"
 The rules attribute defines which rules to draw between cells:
	[...] (snipped a lot of comments originating from the external
parameter entities)
     ============================================================== -->>
    <title>Empty document</title><displaytitle>empty</displaytitle>

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 -->

If this is a bug, it is a Resolver bug, I guess.

Steven Noels
(+32)478 292900

To unsubscribe, e-mail:
For additional commands, email:

View raw message