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 2004/11/01 18:39:32 UTC
[jira] Commented: (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=comments#action_54895 ]
Brian Minchau commented on XALANJ-1550:
---------------------------------------
Christine Li's patch was reviewed by myself (Brian Minchau), and it looks good.
> 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
> 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