[
Lists Home |
Date Index |
Thread Index
]
Elliotte Rusty Harold wrote:
> If it is supposed to be the same effect as an XSLT identity
> transform, then the JAXP spec needs to state this explicitly.
Yes, that would be a good idea. However, since the whole point of a
Transformer is to model an XSLT stylesheet, that seems like the most natural
interpretation. This is a matter of perspective; either way, it should be
more explicit.
Note, however, because of ID attributes, an XSLT identity transformation is
*not* the same thing as preserving everything in the XPath data model! Saxon
seems to take advantage of the underspecification, preserving ID attributes
even though that would never be possible in an XSLT transformation
(unfortunately).
Evan
|