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


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


Received on Wednesday, 18 February 2004 16:08:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:55 UTC