[ http://nagoya.apache.org/jira/browse/XALANJ-1638?page=history ]
Henry Zongaro updated XALANJ-1638:
----------------------------------
Priority: Major (was: Blocker)
> Behaviour of DOMSource(Node) does not match description
> -------------------------------------------------------
>
> Key: XALANJ-1638
> URL: http://nagoya.apache.org/jira/browse/XALANJ-1638
> Project: XalanJ2
> Type: Bug
> Components: JAXP
> Versions: CurrentCVS
> Environment: Operating System: All
> Platform: All
> Reporter: Henry Zongaro
> Attachments: blah.java, blah.xml, blah.xsl
>
> The description of the DOMSource(Node) constructor in the JAXP 1.2
> Specification reads as follows:
> public DOMSource(org.w3c.dom.Node n)
> Create a new input source with a DOM node. The operation will be applied to
> the subtree rooted at this node. In XSLT, a “/” pattern still means the
> root
> of the tree (not the subtree), and the evaluation of global variables and
> parameters is done from the root node also.
> That seems to imply that, given a document like the following, if the Node
> passed to the DOMSource constructor is the element node named "innermost",
> the
> process of building the result tree should begin with the "innermost" element,
> but that the document node in the XPath data model should correspond to the
> DOM's Document node, and presumably that the "doc" and "inner" element nodes
> will be part of the input tree as well.
> <doc><inner><innermost/></inner></doc>
> Xalan-Java Interpretive seems to create a DTM that contains a document node
> containing only the "innermost" element.
> I'm checking the interpretation with the JAXP Expert Group.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]