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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Talking of HTML.... Anyone like lock-in?

[ Lists Home | Date Index | Thread Index ]

> This is absurd. XML Schema is incapable of expressing any but 
> the most 
> trivial constraints in this specification and thus is useless for any 
> practical validation of XHTML.

Actually, I have found that by writing schema-aware stylesheets that
validate XHTML output as it is produced, I'm catching a lot of stylesheet
errors much earlier than I would do otherwise. Perhaps the constraints that
my code is violating are trivial, but it's still nice to know about the
errors as early as possible.

However, I agree that it doesn't make sense to require the XHTML to contain
a reference to the schema. Anyone who wants to validate the XHTML can tell
the validator where to find the schema, there's no good reason to get that
information from the document instance itself. What if it's wrong?

Michael Kay
http://www.saxonica.com/






 

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

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