[
https://issues.apache.org/jira/browse/XMLBEANS-621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Huynh Long Thang updated XMLBEANS-621:
--------------------------------------
Description:
Hi XMLBeans team,
We have a problem when using Xpath with selectPath method in newest version.
*It worked as well in version 3.1.0.*
Our xmlObject is built directly from class. For
example:SelectGenerateDeliverDocument xml =
SelectGenerateDeliverDocument.Factory.newInstance();
When we try to debug, there is a difference as below:
1)
!image-2022-08-12-09-54-54-168.png! 2) Next function: It can not get
schemaGlobalElement and return XmlAnyTypeImpl for the element which we try to
select by xpath in our XMLObject.
!image-2022-08-12-10-05-58-838.png!
Our Xpath is: /req:SelectGenerateDeliver/req:request/data:TransactionData/Txn
and a example xml is attached
was:
Hi XMLBeans team,
Ihave a problem when using Xpath with selectPath method in newest version. *It
worked as well in version 3.1.0.*
Our xmlObject is built directly from class. For
example:SelectGenerateDeliverDocument xml =
SelectGenerateDeliverDocument.Factory.newInstance();
When I try to debug, there is a difference as below:
1)
!image-2022-08-12-09-54-54-168.png! 22) Next function: It can not get
schemaGlobalElement and return XmlAnyTypeImpl for the element which I try to
select by xpath inĀ
!image-2022-08-12-10-05-58-838.png!
> Error when get element(node) of XmlObject by selecPath()
> --------------------------------------------------------
>
> Key: XMLBEANS-621
> URL: https://issues.apache.org/jira/browse/XMLBEANS-621
> Project: XMLBeans
> Issue Type: Bug
> Components: XmlObject
> Reporter: Huynh Long Thang
> Priority: Major
> Attachments: image-2022-08-12-09-54-54-168.png,
> image-2022-08-12-10-05-58-838.png
>
>
> Hi XMLBeans team,
> We have a problem when using Xpath with selectPath method in newest version.
> *It worked as well in version 3.1.0.*
> Our xmlObject is built directly from class. For
> example:SelectGenerateDeliverDocument xml =
> SelectGenerateDeliverDocument.Factory.newInstance();
> When we try to debug, there is a difference as below:
> 1)
> !image-2022-08-12-09-54-54-168.png! 2) Next function: It can not get
> schemaGlobalElement and return XmlAnyTypeImpl for the element which we try to
> select by xpath in our XMLObject.
> !image-2022-08-12-10-05-58-838.png!
> Our Xpath is: /req:SelectGenerateDeliver/req:request/data:TransactionData/Txn
> and a example xml is attached
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]