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

Re: XHTML 5 and validation

  • From: David Carlisle <davidc@nag.co.uk>
  • To: xml-dev@lists.xml.org
  • Date: Wed, 18 May 2011 20:19:09 +0100

Re:  XHTML 5 and validation
On 18/05/2011 20:06, Jesper Tverskov wrote:
>   For years and implemented all over the place, we
> have been used to get the validation we expect in one step

but what validation do you expect? validating a document served at 
text/html as xhtml (or xml generally) is not (and was never) a good idea 
as it will not be parsed as XML by any relevant user agent, so
using xml to validate it is misleading at best.

html5 changes the rules to make it _possible_ to serve well formed xml 
as html for the first time. using HTML4 and XHTML 1, then a document 
that is syntactically xhtml, if served as html is basically just html 
full of syntax errors that only worked at all because the browsers did 
not parse html as specified, and because they don't report syntax errors.

Personally I'd have pushed to go further (and make more uses of xml 
empty syntax conforming) but already, html5 goes a long way beyond 
html4/xhtml1 in allowing people to serve well formed xml as text/html.

David



[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.