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

Re: Schema-aware validation of XHTML result-document

Subject: Re: Schema-aware validation of XHTML result-document
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 9 Mar 2007 10:15:12 +0000
Re:  Schema-aware validation of XHTML result-document
On 3/9/07, Jesper Tverskov <jesper@xxxxxxxxxxx> wrote:
I have done some more testing of schema-aware validation of XHTML
output and made the test into an article:

"Valid XHTML with schema-aware XSLT 2.0".
http://www.xmlplease.com/validxhtml

If I've read it correctly you seem to be complaining about defaulted attributes (in both articles) - DTDs and XML Schemas have done that for a long time and I dislike it too, but it's nothing to do with schema aware XSLT, just a by-product of validation. You can't ask validators to "not copy that junk, please". If you don't want those values defaulted, you need to get the schema changed (or perhaps use the Relax NG versions).

I do think though that schema aware transforms to XHTML is probably
where its biggest use  of validating the result will be.  It's early
days yet - once you've got your valid XHTML you still have to get IE
to display it properly ;)

http://en.wikipedia.org/wiki/Quirks_mode#Triggering_different_rendering_modes

I've always liked the idea of a schema aware processor that given an
input XML and a schema, could report XPaths and templates in my
stylesheet that would never select anything - say because of a typo,
or because of an update to the schema...

Current Thread

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