ORA-19030: Method invalid for non-schema based XML Documents.
Hello,
I'm getting ORA-19030 error when i run the query below. M_DC field is XMLTYPE and schema based. Does anybody have any opinion about this ? Here are some versions of the query that i tried :
v1
---------------------------------------------------
UPDATE IRCICA_ADM.MEDIA m
SET M_DC = UPDATEXML(m.M_DC,
'/qualifieddc/dcterms:tableOfContents',
xmltype('<dcterms:tableOfContents xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/">Test content</dcterms:tableOfContents>'),
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/
I'm getting ORA-19030 error when i run the query below. M_DC field is XMLTYPE and schema based. Does anybody have any opinion about this ? Here are some versions of the query that i tried :
v1
---------------------------------------------------
UPDATE IRCICA_ADM.MEDIA m
SET M_DC = UPDATEXML(m.M_DC,
'/qualifieddc/dcterms:tableOfContents',
xmltype('<dcterms:tableOfContents xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/">Test content</dcterms:tableOfContents>'),
'xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dc="http://purl.org/dc/elements/1.1/
0