Re: xmltype column and schema validation broken on xs:choice elements
From: Piotr Swiecicki <swietopel_at_gmail.com>
Date: Fri, 31 Oct 2008 03:26:22 -0700 (PDT)
Message-ID: <da94341f-6b90-4627-b041-191815eab6b4@f37g2000pri.googlegroups.com>
Date: Fri, 31 Oct 2008 03:26:22 -0700 (PDT)
Message-ID: <da94341f-6b90-4627-b041-191815eab6b4@f37g2000pri.googlegroups.com>
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
Received on Fri Oct 31 2008 - 05:26:22 CDT