Re: xmltype column and schema validation broken on xs:choice elements

From: ddf <oratune_at_msn.com>
Date: Fri, 31 Oct 2008 05:10:56 -0700 (PDT)
Message-ID: <5008bad1-3242-48af-9be0-6b7e1660315a@r36g2000prf.googlegroups.com>


On Oct 31, 5:26 am, Piotr Swiecicki <swieto..._at_gmail.com> wrote:
> On Oct 31, 10:21 am, Piotr Swiecicki <swieto..._at_gmail.com> wrote:
>
> > BEGIN
> >   DBMS_XMLSCHEMA.registerSchema(schemaURL => '/schemas/test',
> > schemaDoc =>
> > '<?xml version="1.0" encoding="UTF-8"?>
> > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> >            elementFormDefault="qualified"
> >            attributeFormDefault="unqualified">
> >   <xs:annotation>
> >   </xs:annotation>
> >   <xs:element name="X">
> >     <xs:complexType>
> >       <xs:choice>
>
> I forgot to mention - I have tried specifying the minOccurs attribute
> explicitly (even though the specification says default value is 1)
> with:
> <xs:choice minOccurs="1">
> but it does not help - the behaviour is still the same

Since you failed to report which release of Oracle you're using it's pretty much impossible to help you.

Provide Oracle version (four or five numbers, NOT '9i','10g', etc) if you expect any assistance.

David Fitzjarrell Received on Fri Oct 31 2008 - 07:10:56 CDT

Original text of this message