My Oracle Support Banner

Incorrect namespace name - syspfx_1 generated for XQuery (Doc ID 2060374.1)

Last updated on MARCH 05, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Unexpected element name (xmlns:syspfx_1) returned when searching XML data:

◆Target XML data
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1109 1.00">
<data>
<image class="colimg-door" height="72.5" width="59" x="0.5" xlink:href="" xmlns:xlink="http://www.w3.org/1999/xlink" y="0.5"/>
</data>
</root>

◆ XQuery executed:
declare default element namespace "http://www.w3.org/2000/svg"; declare namespace xlink="http://www.w3.org/1999/xlink";/root/data"

◆The expected output:
<data>
<image class="colimg-door" height="72.5" width="59" x="0.5" xlink:href="" xmlns:xlink="http://www.w3.org/1999/xlink" y="0.5"/>
</data>

◆Actual output returned :
<data>
<image class="colimg-door" height="72.5" width="59" x="0.5" xmlns:syspfx_1="http://www.w3.org/1999/xlink" syspfx_1:href="" y="0.5"/>
</data>



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.