OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   uncle! XHTML Basic and validation

[ Lists Home | Date Index | Thread Index ]

 I am working on a project that involves embedding HTML content in XML
documents.  The desire is to produce a DTD than can be both used as a
current standard as well as leave open the desire to embed future
vocabularies as content, and to specify future vocabularies using XML

Essentially there is an outer XML structure whose elements have mixed
content. XHTML Basic seems like it should provide the best content model,
and using XHTML modularization it should be possible to naturally extent the
content model with new vocabularies as they are developed.

Furthermore, we desire to allow the container elements to serve as a simple
XLink, i.e. point to some external content.

The problem is that many DTD editing packages are totally namespace unaware,
and cannot properly deal with prefixes etc. (no news here). Furthermore some
people desire not to use prefixes at all (i.e. each element has a default
namespace). The way XHTML Basic deals with this is via "xmlns="

The problem is that Microsoft's MSXML validator chokes when it seems a
defaulted namespace 'attrubute'. Not only that but many many XML editors
seem to choke on XHTML Basic.

How should this be resolved:

1) don't use XHTML Basic (or any XHTML modularization)
2) require all documents to be prefixed even those that don't have XHTML
3) require all content to have explicit xmnls="...xhtml..." declarations.
4) give up and move to XML schemas



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS