Re: [xsl] XSLT/XPath 2.0 (was "Identifying two tags...")

Subject: Re: [xsl] XSLT/XPath 2.0 (was "Identifying two tags...")
From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx>
Date: Tue, 14 May 2002 08:45:10 -0400
At 1:09 PM -0700 5/13/02, Evan Lenz wrote:


I'd also add to Jeni's note that if you (or anyone else) are in favor of a conformance level for XSLT 2.0 that does not require XML Schema validation,
we would like to hear about it, including any specific requirements for what such a conformance level would entail. You may have a better chance of success if you put your hopes in a conformance level, rather than trying to fight the inclusion of XML Schemas altogether.



At an absolute minimum I want to be able to teach XSLT 2.0 to an audience that knows nothing about schemas without teaching schemas first. Specifically:


I don't want any of the core functionality to depend on schema types. For instance, I do not want a function like starts-with(), round() or getYear() to fail simply because there is no schema available. I do not want equality comparisons between 2 and 2 to return false because the first 2 is an integer and the second 2 is a string.

I do not want XSLT processing to fail because the instance document has an xsi:schemaLocation attribute that points to a nonexistent schema.

I don't want there to be any required attributes to turn schema processing off.

Any feature which can be implemented without PSVI information (e.g. getting the year from 1999-12-21) should be implemented without PSVI information.

I do not want any features to work differently because of schemas. I do not want to have to tell my students, "This will make sense after we learn about schemas."
--


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread