OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] How to spell "No PSVI" in XSLT 2.0 ?

[ Lists Home | Date Index | Thread Index ]

Uche Ogbuji wrote:
> How about making an attribute on the stylesheet act as the switch?
> 
> <xsl:transform ... xsl:version="2.0" xsl:psvi-aware="no"
> 
> I strongly suggest the default should be no, and I think discussion on 
 > this list bolsters this.

I agree: I've just sent a similar proposal to public-qt-comments.

An alternative solution would be to make XSLT use *only* the schemata 
specified by <xsl:import-schema />. If a stylesheet contains no such 
element, schema-aware processing is not allowed.

That seems logical to me: "psvi-aware" processing, as defined by the 
current spec, is essentially a two-phase transformation: one from xml to 
psvi as specified by a schema, and one from psvi to xml, as specified by 
the stylesheet. I think the entire transformation should be controlled 
in one place only - in the stylesheet itself - rather than partly in the 
source document(s) subject to the rather ambiguous "Schema Document 
Location Strategy" defined in the schema spec.

/dan
--
Dan Holmsand
dan@eyebee.com





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS