Problem in validating the XML with XSD in Oracle [message #199441] |
Tue, 24 October 2006 05:49 |
appub
Messages: 2 Registered: October 2006 Location: Bangalore
|
Junior Member |
|
|
Hi,
Currently I am facing a problem while validating the XML with the XSD. XML and XSD are <?xml version="1.0" encoding="utf-8"?>.
I am using the following logic to validate the XML:
l_Validatexml xmltype;
l_Validatexml := Xmltype(CLOB).Createschemabasedxml(XSD path);
l_Validatexml.Schemavalidate();
This is working if the XML contains the ASCII characters.
But if the XML contains some german characters for Ex:
<FIRST_NAME>jiagéadéeesseache</FIRST_NAME>
It is giving the following error:
ORA-31043: Element '' not globally defined in schema ''
Can you please help in this regard.
Regards,
Apparao
|
|
|
|
Re: Problem in validating the XML with XSD in Oracle [message #199444 is a reply to message #199442] |
Tue, 24 October 2006 06:06 |
appub
Messages: 2 Registered: October 2006 Location: Bangalore
|
Junior Member |
|
|
But this is not the case when i validated the XML with out german characters. It is working fine.
When i use the German or French (NON ASCII) in the values for ex:
<FIRST_NAME>jiagéadéeesseache</FIRST_NAME>
then only this problem is arising.
Please clarify
|
|
|