[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: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 9 Mar 2007 14:02:17 GMT
Re:  Schema-aware validation of XHTML result-document
> but we still need to find out why XHTML result-document validation in XSLT
> could not work as it works when we normally validate a file on our
> hard disk: Nothing is added to that file.

because if you validate a file in that manner then you most likely do
something equivalent to what I suggested you do with XSL, that is
validate the the document, react to any reported errors  but never
actually materialise the PSVI, and instead just keep the original
document.

It's the same with dtd validation, if you just take validation as a
binary yes/no answer that never changes your source document your source
document doesn't change but if you take an xhtml file and go

rxp -sxV file.xhtml > validated.xhtml

or the equivalent with any other validating XML parser, then you will
find that  validated.xhtml has colspan="l"  and shape="rect" all over
the place.

Validation using either schema or DTD _does_ add things to the document
it's only true that "nothing is added to the file" if you subsequently
use the input to validation, not the output.


David

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.