Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Self closing tags appearing in xquery

886411Dec 20 2013 — edited Dec 24 2013

I am working on a migration project where the weblogic is getting migrated from weblogic 8 to 10.x

my application uses xquery and when upgraded to higher version i can see some self closing tags getting created in the transformed xml which is not the case with 8.1.

for example:

I have given a simple declaration as below

let $a  := <find an attribute value>

return

<abc:value>{$a}</abc:value>

if the "find an attribute value" returns null then in weblogic 8 the node will not be sent in transformed xml but in weblogic10.x it is parsing the node as self closing one like <abc:value/>

Is this an issue with migration? I know that the xquery upgraded to 2004 and I did took care of that part.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 21 2014
Added on Dec 20 2013
3 comments
1,956 views