Subjects
Home
Xalan extension functions
Fomatting question serializing DOM with pretty print
xalan with pull parser
Cannot find the declaration
Apache Xalan drop support to run on JRE 1 1 x
Why does Doctype change processing of a document
Node set to XML string via Java extensions in Xalan J: possible?
Templates/Transformers + thread safety???
Problem evaluating xpath with muliple prefix with different namespace
remove an arbitrary attribute from xsl output
Xalan3 XSLT 2 0 XPath 2 0 support?
Problem using compiled translets with Xalan !!
Xalan and jstl 1 1 problem with transform tag
NullPointer in DOM2DTM getLocalName
URIResolvers base parameter with xsltc and cascaded imports
Performance problem for Xalan J on intel dual core
Standard libraries in JAXP?
Serializing a DOM tree to XML file, customize entities replacement
Library Conflict Involving BCEL Library
A question on how users are using <xsl:message >
Kevin Cormier as a new Apache Xalan J committer
Struggling to iterate over tokenized string
Xalan count() trouble
Problem with recursive xpath
Error when switching to java 1 5
document( ' ')
Problem with Xalan2 7 0 transformation
cr/lf options
entity encoded XML
can xalan transform 2 xml using one xslt?
Xalan J JIRA defect review Monday October 16, 2006 from 2:00 to 3:30 pm ED
xsl transform with cdata section elements
xslt parameters not expanded
Weird behavior of XPath evaluate()
How to avoid <xsl:message > instruction prints stylesheet file informations ?
Cannot find SimpleTransform subdirectory after installing Xalan J
recover from document not found exceptions
jdk1 5 and Xalan jar differences?
Performance Issue
Error/Bug adding floating point numbers
XPathAPI: eval exp using nodes with default namespace
modifying xalan to output invalid XML
NullPointerException
mege two separate xml nodes into one
Is this a XALAN document identification bug?
is StylesheetRoot really java io Serializable ?
transform() fails for DOMSource but succeeds for StreamSource
Thoughts on Transformer parameter passing
HELP, Xalan and jstl 1 1 problem with transformer
Problem with XPath namespace axis?
string utils:replace deleting search string if replacement string is an HTML
help with enumeration values pls
xalan 2 5 1 vs 2 7 performance question
How to insert/update in XML document
HTML Serialization and Handling of Ampersands in HREF Attributes
XHTML link tag stripping
SystemId Unknown; Line #24; Column #49; java lang NullPointerException
xpath text() help
Apostrophe problem with xalan 2 7 0
How to set variables in XML document?
Links
Home
Oracle database error code ...
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Xalan-J JIRA defect review - Monday October 16, 2006 from 2:00 to 3:30 pm ED

Xalan-J JIRA defect review - Monday October 16, 2006 from 2:00 to 3:30 pm ED

2006-10-18       - By Henry Zongaro
Reply:     1     2     3     4  

Hi, Mike.

Mike Brown <mike@(protected)> wrote on 2006-10-18 12:34:13 PM:
> Henry Zongaro wrote:
> > I just wanted to clarify the remarks that I made during the defect
review
> > meeting.  Another user ran into this problem trying to do the same
sort of
> > things with the node-set function key, and that's why I opened the
Jira
> > issue.  What I said about XSLT 2.0 was that the fact that it allows
the
> > key function to return nodes from temporary trees would be an argument
in
> > favour of doing the same thing in XSLT 1.0 if the key function is
> > evaluated with a context node that is in a tree returned by the
node-set
> > extension function.
>
> Thanks for that explanation, but it still sounds like you're under the  

> impression that supporting keys on converted result tree fragments
/temporary
> trees is an enhancement or questionable interpretation of XSLT 1.0.
>
> It's true the spec is a little loose with its use of the term "document"
at
> times, but it is very clear about the fact that it operates on the
XPath/XSLT
> node tree models only.
>
> I don't think it's a stretch to say that a root node "is" a document, in
this
> model. So, once the fragment becomes a real node-set consisting of a
single
> root node, it is indistinguishable from any other document, as far as
the
> processor is concerned. That it was generated internally and not
obtained from
> parsing a byte stream isn't relevant.
>
> Given the way key() is specified, then, it is reasonable to expect that
a
> conforming XSLT 1.0 processor, for purposes of keys, would treat it no
> differently than any other. What XSLT 2.0 does is immaterial.
>
>
> So, I would consider it higher priority than a feature request; it's a
real
> implementation gap, if not a "bug". However, there are generally
workarounds
> (inefficient) for most key-related operations, so it's not as high a
priority
> as other issues.

I think that when I originally opened the issue, I regarded it as a bug.
When I spoke during the defect review call, I think I regarded it as an
enhancement.  You've convinced me that it is, in fact, a bug; a processor
that supports the node-set extension should permit the key function to
retrieve nodes in the tree returned by node-set.

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      XSLT Processors Development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@(protected)