[dsdl-discuss] Re: FW: DSDL: Physical validation

From: Rick Jelliffe <ricko@allette.com.au>
Date: Thu Sep 30 2004 - 15:04:10 UTC

> Rick
>
> A question re the relationship between two of the statements made in your
> latest missive, for which many thanks:
>
>>I strongly recommend, if people are interested in persuing this,
> that only the information provided by SAX 2 with its extensions
> can be considered. Anything else requires a custom parser, which
> would be crazy.
>
> and
>
>>XSLT 2 has new features for ensuring that certain characters
> are marked up using references: there will be less need for
> validation.
>
> Does SAX2 pick up all the information needed for XSLT2 processing? My
> concern is that if we restricted ourselves to the set of additional
> information provided by SAX2 there would be certain XSLT2 operations we
> would have to forbid. Any thoughts as to what these would be?

I believe so. XSLT2 can use additional information from the PSVI
(i.e. after processing by XML namespaces) which presumably we want
to avoid: for all intents and purposes, SAX2 defines the infoset
of an XML document (subsequent layers may imply other structures
on top, but there is no other source of information about the original
XML document.

Any standard that goes beyond SAX doomed: there would be no Java
support, which is a critical use case. (I believe some other
systems use SAX-based APIs too.)

Cheers
Rick Jelliffe

--
DSDL members discussion list
To unsubscribe, please send a message with the
command  "unsubscribe" to dsdl-discuss-request@dsdl.org
(mailto:dsdl-discuss-request@dsdl.org?Subject=unsubscribe)
Received on Thu Sep 30 17:48:01 2004

This archive was generated by hypermail 2.1.8 : Fri Dec 03 2004 - 14:00:28 UTC