RE: [xsl] XSLT 2.0 and implementation of fn:idref in Saxon 7.9

Subject: RE: [xsl] XSLT 2.0 and implementation of fn:idref in Saxon 7.9
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 15 Mar 2004 14:20:28 -0000
This is what XSLT 2.0 section 4.4 says:

The data model allows attribute nodes to have type annotations derived from
schema processing. It is also possible for a limited set of type annotations
(on attributes only) to be derived from DTD-based validation of a source
document. Because the construction of the data model is outside the scope of
XSLT processing, this specification (in common with [Data Model]) neither
requires nor prevents this.

However, it also says that type annotations are allowed only in a
schema-aware processor. There are public comments affecting this, so this
could still change.

Michael Kay

# -----Original Message-----
# From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
# list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Colin Paul Adams
# Sent: 15 March 2004 11:49
# To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
# Subject: Re: [xsl] XSLT 2.0 and implementation of fn:idref in Saxon 7.9
# 
# >>>>> "Michael" == Michael Kay <mhk@xxxxxxxxx> writes:
# 
#     Michael> No, the idref() function operates fine (at least in
#     Michael> Saxon) with DTD-defined IDREF and IDREFS attributes. The
#     Michael> need to determine which attribute contains the IDREF
#     Michael> exists just as much in a DTD world as a schema world.
# 
# But as I read the draft standard, it is not allowed to assign a type
# of IDREF if using DTD validation rather than schema validation.
# --
# Colin Paul Adams
# Preston Lancashire
# 
#  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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


Current Thread