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

Re: Victory has been declared in the schema wars ...

  • From: Henri Sivonen <hsivonen@i...>
  • To: Elliotte Harold <elharo@m...>
  • Date: Thu, 30 Nov 2006 00:26:58 +0200

Re:  Victory has been declared in the schema wars ...
On Nov 29, 2006, at 14:31, Elliotte Harold wrote:

> Henri Sivonen wrote:
>
>> I think not having a normative schema for HTML5 is a very good  
>> idea. None of the current schema languages (not even Schematron)  
>> are adequate for expressing all the conformance requirements of  
>> HTML5.
>
> More to the point, HTML5 is not XML. It is not well-formed, and in  
> general an HTML5 document cannot be made well-formed without  
> crippling it by removing quite a few elements. Therefore XML schema  
> languages really don't fit it at all.

They fit quite nicely if the HTML parser reports an equivalent XHTML  
document to the schema layer, which is what my parser does. Jing  
doesn't care what calls the ContentHandler methods.

> Frankly I think this is insane, but it's what the HTML5 folks have  
> told me quite clearly.

Parsing text/html from the real Web using an XML parser is an  
exercise in futility. Therefore, a real-world-compatible parsing  
algorithm is needed. With that in place, there's no good reason for  
text/html suppliers to make their stuff XML. And having people  
pretend that they are sending XML when they aren't wouldn't do any  
good to XML.

-- 
Henri Sivonen
hsivonen@i...
http://hsivonen.iki.fi/




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.