1.

My Xml Contains Xpath Expressions In The References, But They Seem Not To Work?

Answer»

XStream generates only XPath compliant expressions. These have a very limited SYNTAX and they are the only ones that can be interpreted at DESERIALIZATION again, since XStream does not use an XPath interpreter. Therefore there is no support for attribute selectors, qualified element access with axis NAMES or functions. For real XPath support you will have to IMPLEMENT your own MarshallingStrategy.

XStream generates only XPath compliant expressions. These have a very limited syntax and they are the only ones that can be interpreted at deserialization again, since XStream does not use an XPath interpreter. Therefore there is no support for attribute selectors, qualified element access with axis names or functions. For real XPath support you will have to implement your own MarshallingStrategy.



Discussion

No Comment Found