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

Re: XPath 1.5? (was RE: typing and markup)


Re:  XPath 1.5? (was RE:  typing and markup)

> 
> > A Schematron assertion (that the node list is non-null) would then always
> > fail, even at "compile" time.
> > 
> > I think this behavior would be _better_ for Schematron.
> 
> How can that be better for schematron? It completely breaks the whole
> purpose of the schematron schema, which is to find the "bad" markup and
> to report the occurrences to the user. Having your schematron schema
> fail to compile because it is looking for illegal cases means that
> almost all schematron schema would not compile.

A followup, and to be crystal clear, I did not mean to imply
that the Schematron schema would fail to "compile" whatever
that means (I suppose it would be some sort of static type
analysis?)

What I said is that the "assertion would fail" that is it
would be known that an assertion, which depends on a 
particular node set being not null, i.e. not empty, would 
_never be true_ as long as the XML document was e.g. XSD valid.

The Schematron schema would be entirely "correct" -- assertions
are intended to "fail" i.e. trigger some event when that
which is asserted is "not true" i.e. "null"

Jonathan

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.