I just created two diff files that should compile just fine (but do not adhere 
to any new Xalan-memory-management idioms).

If anyone would like to comment on them, please do.




-----Original Message-----
From: Steven J. Hathaway (JIRA) [mailto:xalan-dev@xml.apache.org]
Sent: Friday, September 16, 2011 7:27 AM
To: xalan-dev@xml.apache.org
Subject: [jira] [Commented] (XALANC-451) XalanTransformer 
setStylesheetParam(key, xobject)


    [ 
https://issues.apache.org/jira/browse/XALANC-451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105864#comment-13105864
 ]

Steven J. Hathaway commented on XALANC-451:
-------------------------------------------

Issue XALANC-451 cannot be applied to the current trunk.

See Patch SVN: 483545 date: 2006/12/07

The definition for parameters and functions has changed.

-    m_paramPairs(m_memoryManager);
-    m_functionPairs(m_memoryManager);

+    m_params(m_memoryManager);
+    m_functions(m_memoryManager);

And the ParamPairType is no longer being used.

------------------------------------------------------

The capability defined in JIRA XALANC-451 will need to
be created against the current code.

The patch works with the XALAN release 1.10 but not
in the new release 1.11.

I have not looked into the properties of the new paradigm
to reimplement the intent of the patch.


> XalanTransformer setStylesheetParam(key, xobject)
> -------------------------------------------------
>
>                 Key: XALANC-451
>                 URL: https://issues.apache.org/jira/browse/XALANC-451
>             Project: XalanC
>          Issue Type: Improvement
>          Components: XalanC
>    Affects Versions: CurrentCVS
>            Reporter: Tobias Schuette
>         Attachments: UseStylesheetParam.cpp, UseStylesheetParam.cpp.diff, 
> XalanTransformer.cpp, XalanTransformer.cpp.diff, XalanTransformer.hpp, 
> XalanTransformer.hpp.diff, foo.xsl, foo.xsl.diff
>
>
> it is not supported to pass xobject's as top level args to stylesheets 
> through the XalanTransformer
> this could be easily evaluated because the underlying XSLTEngingeImpl 
> supports passing in top level args as key/xobject pairs.
> attached some patches to store key/xobject pairs in XalanTransformer and a 
> modified version of the UseStylesheetParam sample.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org


The information contained in this communication is intended solely for the use 
of the individual or entity to whom it is addressed and others authorized to 
receive it. It may contain confidential or legally privileged information. If 
you are not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or taking any action in reliance on the contents of this 
information is strictly prohibited and may be unlawful. If you have received 
this communication in error, please notify us immediately by forwarding this 
email to mailad...@usoft.com and then delete it from your system.

USoft is neither liable for the proper and complete transmission of the 
information contained in this communication nor for any delay in its receipt.

Attachment: XalanTransformer.hpp.diff
Description: XalanTransformer.hpp.diff

Attachment: XalanTransformer.cpp.diff
Description: XalanTransformer.cpp.diff

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to