You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Daniel LaPrade (JIRA)" <xm...@xml.apache.org> on 2007/07/21 02:41:06 UTC

[jira] Created: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

"derivation-ok-restriction.5.1" failure thrown incorrectly 
-----------------------------------------------------------

                 Key: XMLBEANS-340
                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
             Project: XMLBeans
          Issue Type: Bug
    Affects Versions:  Version 2.3
         Environment: MacOSX, Java1.5
            Reporter: Daniel LaPrade


I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:

[xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.

The problem is here is the line in question:

  <xs:complexType name="MESH">
   <xs:simpleContent>
    <xs:restriction base="dc:SimpleLiteral">
        <xs:simpleType>
          <xs:restriction base="xs:string"/>
        </xs:simpleType>
        <xs:attribute ref="xml:lang" use="prohibited"/>
    </xs:restriction>
   </xs:simpleContent>
  </xs:complexType>

Here is the base for the restriction:

  <xs:complexType name="SimpleLiteral">
   <xs:complexContent mixed="true">
    <xs:restriction base="xs:anyType">
     <xs:sequence>
      <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
     </xs:sequence>
     <xs:attribute ref="xml:lang" use="optional"/>
    </xs:restriction>
   </xs:complexContent>
  </xs:complexType>

As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.

This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515072 ] 

Jacob Danner commented on XMLBEANS-340:
---------------------------------------

Hi Kombi,
will compiling the XSD with scomp -noupa -nopvr *.xsd not work for you until we can investigate this further?

I'll look into this further.

In the meantime the offending sections of the XSD are:
<xs:complexType name="TGN">
   <xs:simpleContent>
    <xs:restriction base="dc:SimpleLiteral">
        <xs:simpleType>
          <xs:restriction base="xs:string"/>
        </xs:simpleType>
        <xs:attribute ref="xml:lang" use="prohibited"/>
    </xs:restriction>
   </xs:simpleContent>
  </xs:complexType>

<xs:complexType name="SimpleLiteral">
        <xs:annotation>
        <xs:documentation xml:lang="en">
            This is the default type for all of the DC elements.
            It permits text content only with optional
            xml:lang attribute.
            Text is allowed because mixed="true", but sub-elements
            are disallowed because minOccurs="0" and maxOccurs="0"
            are on the xs:any tag.

            This complexType allows for restriction or extension permitting
            child elements.
        </xs:documentation>
    </xs:annotation>

   <xs:complexContent mixed="true">
    <xs:restriction base="xs:anyType">
     <xs:sequence>
      <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
     </xs:sequence>
     <xs:attribute ref="xml:lang" use="optional"/>
    </xs:restriction>
   </xs:complexContent>
  </xs:complexType>

Also, the W3C schema validator had no problems with a HACKHACK XSD I whipped up to repro this problem
Here is the output
Schema validating with XSV 2.10-1 of 2005/04/22 13:10:49

    * Target: file:/usr/local/XSV/xsvlog/tmpGJDucGuploaded
         (Real name: foo.xsd)
    * docElt: {http://www.w3.org/2001/XMLSchema}schema
    * Validation was strict, starting with type [Anonymous]
    * The schema(s) used for schema-validation had
        no errors
    * No schema-validity problems were found in the target

http://www.w3.org/2001/03/webdata/xsv








> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Assignee: Jacob Danner
>            Priority: Minor
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "kombi (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kombi updated XMLBEANS-340:
---------------------------

    Priority: Major  (was: Minor)

> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Assignee: Jacob Danner
>         Attachments: xmlbeans-340.xsd
>
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Resolved: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner resolved XMLBEANS-340.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Jacob Danner

This is a valid error in the XSD, and the validation in xmlbeans is why you are seeing this error.
If you are curious about the where's and why's of the error, more information can be found at:
http://www.w3.org/TR/xmlschema11-1/#derivation-ok-restriction

There are some other warnings also:
dc.xsd:63:7: warning: p-props-correct.2.2: maxOccurs must be greater than or equal to 1.
      <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>

To make the XSD compile using xmlbeans scomp target, try the following:
scomp -noupa -nopvr  *.xsd
dc.xsd:63:7: warning: p-props-correct.2.2: maxOccurs must
 be greater than or equal to 1.
Time to build schema type system: 4.375 seconds
Time to generate code: 3.813 seconds
Time to compile code: 12.031 seconds
Compiled types to: xmltypes.jar

(it worked for me)

Since XmlBeans does not control the XSDs in question, I think it best bet would be to contact the group or person you recieved the XSD from.

> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Assignee: Jacob Danner
>            Priority: Minor
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner updated XMLBEANS-340:
----------------------------------

    Priority: Minor  (was: Major)

> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Priority: Minor
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "kombi (JIRA)" <xm...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514726 ] 

kombi commented on XMLBEANS-340:
--------------------------------

I reviewed that document, and it does not seem that my schema violates any restrictions listed. Which violation is being thrown from your reference document for:

[xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model. 

for the schema, I listed above.  I am able to validate schema with other tools such as OxygenXML.

> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Assignee: Jacob Danner
>            Priority: Minor
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Commented: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "kombi (JIRA)" <xm...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515280 ] 

kombi commented on XMLBEANS-340:
--------------------------------

Jacob,

I actually noticed this issue while trying to generate code using Axis2, xfire, and cxf.  I decided to download the xmlbeans directly and try to generate code when I realized it was xmlbeans specific. Just an fyi.

> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Assignee: Jacob Danner
>            Priority: Minor
>         Attachments: xmlbeans-340.xsd
>
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Updated: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "Jacob Danner (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacob Danner updated XMLBEANS-340:
----------------------------------

    Attachment: xmlbeans-340.xsd

I've attached the simple xsd used to repro this issue without all of the imported/included XSDs. 
Not intended for inclusion with svn srcs.

> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Assignee: Jacob Danner
>            Priority: Minor
>         Attachments: xmlbeans-340.xsd
>
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Reopened: (XMLBEANS-340) "derivation-ok-restriction.5.1" failure thrown incorrectly

Posted by "kombi (JIRA)" <xm...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLBEANS-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kombi reopened XMLBEANS-340:
----------------------------


Read my comments

> "derivation-ok-restriction.5.1" failure thrown incorrectly 
> -----------------------------------------------------------
>
>                 Key: XMLBEANS-340
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-340
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3
>         Environment: MacOSX, Java1.5
>            Reporter: kombi
>            Assignee: Jacob Danner
>            Priority: Minor
>
> I downloaded the DublinCore xml schemas and tried to create xmlbeans of them and got several "derivation-ok-restriction.5.1" error messages:
> [xmlbean] schemas/dcterms.xsd:130:3: error: derivation-ok-restriction.5.1: A complex type with a simple content model can only restrict a complex type with simple or mixed content model.
> The problem is here is the line in question:
>   <xs:complexType name="MESH">
>    <xs:simpleContent>
>     <xs:restriction base="dc:SimpleLiteral">
>         <xs:simpleType>
>           <xs:restriction base="xs:string"/>
>         </xs:simpleType>
>         <xs:attribute ref="xml:lang" use="prohibited"/>
>     </xs:restriction>
>    </xs:simpleContent>
>   </xs:complexType>
> Here is the base for the restriction:
>   <xs:complexType name="SimpleLiteral">
>    <xs:complexContent mixed="true">
>     <xs:restriction base="xs:anyType">
>      <xs:sequence>
>       <xs:any processContents="lax" minOccurs="0" maxOccurs="0"/>
>      </xs:sequence>
>      <xs:attribute ref="xml:lang" use="optional"/>
>     </xs:restriction>
>    </xs:complexContent>
>   </xs:complexType>
> As you can see, the complex type with a simple content model is restricting a complex type with mixed content model.
> This seems like an error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org