Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

LPX-00601: Invalid token

766723Apr 14 2010 — edited Apr 15 2010
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: '/*/name()'

Oracle 10.2.

I am unable to resolve an issue while trying to show an element name. I would like it to show the element name for all of the child nodes under callEventDetails. I would post some XML, but the file is a monster. I am hoping this is just a case of my lack of XML knowledge in Oracle, and that someone will have a quick answer.

I have simplified the query to what is below, and still the same error. I have tried several things as the PATH for "TYPE" including name(.).


SELECT X.*
FROM tapxml_tbl P2,
XMLTable
(
'/DataInterChange/transferBatch/callEventDetails/*'
PASSING P2.object_value
COLUMNS
"TYPE" varchar(30) PATH 'name()'
) AS X;
This post has been answered by odie_63 on Apr 14 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2010
Added on Apr 14 2010
2 comments
3,420 views