xsl-list
[Top] [All Lists]

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

2004-03-15 07:20:28
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(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-
# list(_at_)lists(_dot_)mulberrytech(_dot_)com] On Behalf Of Colin Paul Adams
# Sent: 15 March 2004 11:49
# To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
# Subject: Re: [xsl] XSLT 2.0 and implementation of fn:idref in Saxon 7.9
# 
# >>>>> "Michael" == Michael Kay <mhk(_at_)mhk(_dot_)me(_dot_)uk> 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