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 2006/11/01 01:18:17 UTC

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

     [ http://issues.apache.org/jira/browse/XALANJ-1550?page=all ]

Brian Minchau resolved XALANJ-1550.
-----------------------------------

    Fix Version/s: 2.7
                       (was: Latest Development Code)
       Resolution: Fixed

> Problems with XPath expression //* (incorrect result and does not function after Templates object is serialized)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: XALANJ-1550
>                 URL: http://issues.apache.org/jira/browse/XALANJ-1550
>             Project: XalanJ2
>          Issue Type: Bug
>          Components: XPath
>    Affects Versions: 2.5
>         Environment: Operating System: Windows XP
> Platform: PC
>            Reporter: Kahli Burke
>            Priority: Blocker
>             Fix For: 2.7
>
>         Attachments: Bug20492Serializable.txt, testxml.jar, Xalan-serialization-bug.txt
>
>
> 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://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, 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