[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

uncle! XHTML Basic and validation

  • To: <xml-dev@l...>
  • Subject: uncle! XHTML Basic and validation
  • From: "Jonathan Borden" <jborden@m...>
  • Date: Sat, 22 Dec 2001 10:29:03 -0500

xhtml basic validator
 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
schemas.

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="
'attributes'.

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
content.
3) require all content to have explicit xmnls="...xhtml..." declarations.
4) give up and move to XML schemas

Jonathan


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.