W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

[XSLT] Validation mode preserve (technical)

From: Michael Rys <mrys@microsoft.com>
Date: Wed, 18 Feb 2004 13:08:25 -0800
Message-ID: <EB0A327048144442AFB15FCE18DC96C70214D294@RED-MSG-31.redmond.corp.microsoft.com>
To: <public-qt-comments@w3.org>
According to the discussion in [1], there seems to be a problem with the
type that the preserve validation mode assigns to the new wrapper
element.

 

The type associated with a newly constructed element that contains
information that has preserved its previous type should not be
xdt:untypedAny, since this type guarantees that any of its descendent
children, atributes and values are also untyped. If you preserve the
type information, you are obviously violating that type safety
assumption. The solution (pending approval of action item TAMPA-02) is
to instead type such elements as being of type xs:anyType (or whatever
dynamic type name will be chosen during resolution of action item
TAMPA-02 to indicate a partially validated element content).

 

Best regards

Michael

[1]
http://lists.w3.org/Archives/Public/public-qt-comments/2004Feb/0237.html
Received on Wednesday, 18 February 2004 16:08:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:18 UTC