XML Database (MOSC)

MOSC Banner

ORA-19030: Method invalid for non-schema based XML Documents.

edited Mar 8, 2010 7:16AM in XML Database (MOSC) 2 commentsAnswered
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/

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center