Doug Chestnut wrote:
Hi Joe,
As Gregor said it is the serializer that adds the doc type. Which version of lenya is your pub based on? If your publication-sitemap.xmap has a matcher like the one at the bottom of my email in it, the new cache stuff might be to blame. I tried the default pub in 1.2.3 and found that the first time I request a page I get the doctype, after that there is no doctype. I would try changing
<map:read src="{global:cache-dir}/{../1}.html" mime-type="text/html"/>
to
<map:generate src="{global:cache-dir}/{../1}.html" type="file"/>
<map:serialize type="html"/>

ah! a bug with the static caching then. can you file it? basically when the document is written out to the cache using the domstreamer it seems to nuke the doctype. good catch doug



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to