← Prev in month ← Prev in thread
Next in thread → Next in month →

Should Property any be lax

From
Nathan E Lipke <>
Date
2006-11-01T17:01:12+00:00
ID
Thread
Should Property any be lax
In the v1 types xsd the <any> element of the Property type
contained processContents="lax". The 2.0 xsd does not. Is there
any reason for this change?

Thanks,

Nate

V1:

  <complexType name="Property">

    <sequence>

      <!-- Would prefer this to be a choice ... Axis and JAX-RPC
failed to handle that -->

      <element name="stringValue"  type="xsd:string"
minOccurs="0"/>

      <!-- processContents="lax" is added per a WSRP errata item
-->

      <any     namespace="##other" minOccurs="0"    
maxOccurs="unbounded" processContents="lax"/>

      <!-- end prefer this to be a choice -->

    </sequence>

    <attribute name="name"         type="xsd:string"
use="required"/>

    <attribute ref="xml:lang"/>

  </complexType>

2.0:

  <complexType name="Property">

    <sequence>

      <element name="stringValue"  type="xsd:string"
minOccurs="0"/>

      <any     namespace="##other" minOccurs="0"    
maxOccurs="unbounded"/>

    </sequence>

    <attribute name="name"         type="xsd:QName"
use="required"/>

    <attribute name="type"         type="xsd:QName"
use="optional"/>

<!--<attribute ref="xsi:type"      use="optional"/>-->

    <attribute ref="xml:lang"      use="optional"/>

  </complexType>
← Prev in month ← Prev in thread
Next in thread → Next in month →