Hi
I have several attribute in xml file. all of them - in the root element.
I know that I have to put the declaration of the attribute in the bottom of the schema.
When I put only one attribute in the schema - everything is OK.
but I have more than one attribute (I have 8 attributes...), and the I get this error:
ORA-01460: UNIMPLEMENTED OR UNREASONABLE CONVERSION
xml file:
<MyRootElement Myattribute1="MyValue1"
MyAttribute2="MyValue2"
MyAttribute3="MyValue3"
xmlns="http://www.oracle.com/xml/test.xsd"
xmlns="http://www.w3.org/2001/xmlSchema-instance in the beginning of this row it's should be written: "xmlns:xsi" , but this is erased....
xsi:schemaLocation=http://www.oracle.com/xml/test.xsd my_schema_file.xsd">
xsd file:
<schema targetNameSpace="http://www.oracle.com/xml/test.xsd"
xmlns="http://www.w3.org/2001/xmlSchema"
xmlns : xdb = "http://xmlns.oracle.com/xdb"
vesion="1.0"
elementFormDefault="qualified">
<element name="MyRootElement">
<complexType>
<sequnce>
----------------
---the rest of the xsd file -------------
---------------------------------------------
</sequnce>
<attribute name="MyAttribute1" type="string" use="required"
<attribute name="MyAttribute2" type="string" use="required"
</complexType>
</element>
</schema>
Anyone knows what the problem is?
Thanks in advanced,
Elad