You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2005/03/01 21:10:55 UTC
[jira] Assigned: (XALANJ-2057) Transformer.setParameter should accept Source as an Object value
[ http://issues.apache.org/jira/browse/XALANJ-2057?page=history ]
Brian Minchau reassigned XALANJ-2057:
-------------------------------------
Assign To: Henry Zongaro
Per the JIRA committer meeting March 1, I'm assigning to Henry. This looks like a reasonable improvement, but needs further investigation. The Xalan PMC needs to decide on the fix priority.
> Transformer.setParameter should accept Source as an Object value
> ----------------------------------------------------------------
>
> Key: XALANJ-2057
> URL: http://issues.apache.org/jira/browse/XALANJ-2057
> Project: XalanJ2
> Type: Improvement
> Components: JAXP
> Versions: 2.7.0-future-release
> Reporter: elharo
> Assignee: Henry Zongaro
>
> Saxon 8 has a nice feature whereby you can pass a TrAX SAXSource/DOMSource etc. to the Transformer.setParameter method, Saxon converts that source into its internal representation. That is, it will read from the source and build the necessary representation of a node-set. This makes it relatively easy to set parameters whose values are node-sets.
> This is very useful for hooking up Xalan to other object models such as JDOM and XOM. Currently these models can be transformed by wrapping the original input document in a SAXSource. However, node-set parameters do not work the same way. These have to be set by wrapping them in a DOM NodeIterator or NodeList or Node. It would be more consistent and more convenient if setParameter accepted a TrAX Source object as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org