Tuesday, June 25, 2002

XML & Inclusion. "I just read your 'Object vs. XML' post on the spout and I'd be pleased if you would allow me to respond with my own personal spoutlet. Here goes:" [sellsbrothers.com: Windows Developer News]

Personally, I'm in the XML Schema camp. I totally see the value in having loosely formed XML documents as well, but having a schema enables much richer integration with other environments.

12:28:36 PM    

Following up on today's earlier discovery of what appeared to be the a bad URL to an include in the XHTML 1.1 DTD I came across this post in the W3 archives. Essentially it points out that relative DTD linking is not properly supported by some DTD parsers and it appears that .NET's is one of them. ;) From the looks of it, only the one module I discussed earlier today, xhtml11-model-1.mod, is declared relative to the XHTML DTD.

Therefore, to remedy this situation one would need to make a local copy of the XHTML 1.1 DTD, modify the relative reference, "xhtml11-model-1.mod", to be an absolute one, like so "http://www.w3.org/TR/xhtml11/DTD/xhtml11-model-1.mod" and then write a custom XmlResolver which detects requests for the W3 online version of the XHTML 1.1 DTD and redirects them to the local copy instead.

12:21:13 AM