On Feb 14, 2006, at 1:58 AM, Ilias Lazaridis wrote:

pudge problem: the DOCTYPE tag is missing within the templates.

Weird, the templates I've been generating with Pudge do contain a DOCTYPE.

But I don't know what.
What defines a valid XML document?
is there any requirement to the filename extension?

pudge/kid templates are xhtml documents, thus they must contain the DOCTYPE:

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

http://www.w3.org/TR/xhtml1/#strict

That's exactly how Kid has been generating templates. While it indicates that the XML tag isn't required, it does note that it's strongly encouraged to have it present.

If we are going to start changing the output everytime a visual editor, like Dreamweaver, has an issue with the output, that seems a bit dangerous. Which version of Dreamweaver was this fix meant to support? The latest? The last two versions? Does it support Adobe GoLive? etc.

I'm inclined to agree with Marc Rintsch, that if Dreamweaver can't handle what's clearly valid XHTML, it's not a problem Pudge/Kid should be fixing. There's no written requirement in Kid that says its templates must be editable in every major visual design program out there.

- Ben
_______________________________________________
Pudge mailing list
[email protected]
http://lesscode.org/mailman/listinfo/pudge

Reply via email to