It is set up to serialize a Doctype if it's present in the incoming stream, but it doesn't read from the sitemap configuration to read specific values for cases where the stream doesn't have DOCTYPE info. Which leads to a few questions:

1) Is XSLT <output> the preferred way now to get a DOCTYPE on pipeline results?


Not as far as i know. IIUC Cocoon does everthing via
the serializers.

These are new serializers that Pier made recently for
his app and donated back to Cocoon. I don't know
whether they are finished or just enough to get his
job done.

there are still some minor issues with them. but it would be great if we could fix them and switch to use them by default (IMHO)

2) Would it make sense to have the new XML Serializer read configuration parameters for doctype-public and doctype-system? (I note that it already reads configuration for 'encoding', something else that can be set via XSLT output)


I say yes. Implement them so that people can
just switch the name of their component and
directly use the same sitemap config.

sure thing.

cheers
--
Torsten

Reply via email to