You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Christine Li (JIRA)" <xa...@xml.apache.org> on 2004/11/02 15:55:35 UTC

[jira] Closed: (XALANJ-1550) Problems with XPath expression //* (incorrect result and does not function after Templates object is serialized)

     [ http://nagoya.apache.org/jira/browse/XALANJ-1550?page=history ]
     
Christine Li closed XALANJ-1550:
--------------------------------

     Resolution: Fixed
    Fix Version: CurrentCVS

Patch has been applied. Please verify, thanks,

> Problems with XPath expression //* (incorrect result and does not function after Templates object is serialized)
> ----------------------------------------------------------------------------------------------------------------
>
>          Key: XALANJ-1550
>          URL: http://nagoya.apache.org/jira/browse/XALANJ-1550
>      Project: XalanJ2
>         Type: Bug
>   Components: XPath
>     Versions: 2.5
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Kahli Burke
>     Priority: Blocker
>      Fix For: CurrentCVS
>  Attachments: Bug20492Serializable.txt, Xalan-serialization-bug.txt, testxml.jar
>
> I'll attach a test case (XML and XSL).  Run the test case once creating a
> Templates from the factory, then serialize and deserialize the Templates object
> and run again.  The results are not the same.  The deserialized object will not
> evaluate the //* expression properly.  There may be other cases but this is the
> only one I could find.
> The issues are:
> 1.  Aren't descendent-or-self:: and // supposed to be identical?
> 2.  Even if 1 is wrong, the deserialized object fails completely.
> The results I get are:
> 1: (not deserialized)
>         %%tag%%
>     	**tag**
>     	((general_FITB))
>     	!!tag!!
> 2: (serialized and deserialized)
>         %%%%
>     	****
>     	((general_FITB))
>     	!!tag!!

-- 
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: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org