You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Leon (JIRA)" <ji...@apache.org> on 2008/07/12 03:27:31 UTC

[jira] Created: (CXF-1700) XMLBeans - XmlBeansSchemaInitializer can't handle

XMLBeans - XmlBeansSchemaInitializer can't handle <xs:include schemaLocation="./commonSchemas.xsd"/>
----------------------------------------------------------------------------------------------------

                 Key: CXF-1700
                 URL: https://issues.apache.org/jira/browse/CXF-1700
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.1.1
            Reporter: Leon


XMLBeans binding can't seem to handle an xs:include.  Here is sample .xsd to reproduce this problem. 


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema     
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://sample.com/procure"
    xmlns:po="http://sample.com/procure"
    elementFormDefault="qualified">
    <xs:include schemaLocation="./commonSchemas.xsd"/>
    <xs:element name="purchase-order">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="customer" type="po:customer"/>
                <xs:element name="shipper" type="po:shipper" minOccurs="0"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://sample.com/procure" targetNamespace="http://sample.com/procure" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:complexType name="customer">
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="address" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="shipper">
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="per-ounce-rate" type="xs:decimal"/>
        </xs:sequence>
    </xs:complexType>
</xs:schema>

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


[jira] Updated: (CXF-1700) XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include

Posted by "Leon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leon updated CXF-1700:
----------------------

       Priority: Critical  (was: Major)
    Description: 
XMLBeans binding can't seem to handle an xs:include.  see XmlBeansSchemaInitializer.java (Lline #177) Here is sample .xsd to reproduce this problem. 


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema     
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://sample.com/procure"
    xmlns:po="http://sample.com/procure"
    elementFormDefault="qualified">
    <xs:include schemaLocation="./commonSchemas.xsd"/>
    <xs:element name="purchase-order">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="customer" type="po:customer"/>
                <xs:element name="shipper" type="po:shipper" minOccurs="0"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://sample.com/procure" targetNamespace="http://sample.com/procure" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:complexType name="customer">
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="address" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="shipper">
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="per-ounce-rate" type="xs:decimal"/>
        </xs:sequence>
    </xs:complexType>
</xs:schema>

  was:
XMLBeans binding can't seem to handle an xs:include.  Here is sample .xsd to reproduce this problem. 


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema     
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://sample.com/procure"
    xmlns:po="http://sample.com/procure"
    elementFormDefault="qualified">
    <xs:include schemaLocation="./commonSchemas.xsd"/>
    <xs:element name="purchase-order">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="customer" type="po:customer"/>
                <xs:element name="shipper" type="po:shipper" minOccurs="0"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>


<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://sample.com/procure" targetNamespace="http://sample.com/procure" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:complexType name="customer">
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="address" type="xs:string"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="shipper">
        <xs:sequence>
            <xs:element name="name" type="xs:string"/>
            <xs:element name="per-ounce-rate" type="xs:decimal"/>
        </xs:sequence>
    </xs:complexType>
</xs:schema>

        Summary: XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include   (was: XMLBeans - XmlBeansSchemaInitializer can't handle <xs:include schemaLocation="./commonSchemas.xsd"/>)

> XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include 
> --------------------------------------------------------------------------
>
>                 Key: CXF-1700
>                 URL: https://issues.apache.org/jira/browse/CXF-1700
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Leon
>            Priority: Critical
>
> XMLBeans binding can't seem to handle an xs:include.  see XmlBeansSchemaInitializer.java (Lline #177) Here is sample .xsd to reproduce this problem. 
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema     
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     targetNamespace="http://sample.com/procure"
>     xmlns:po="http://sample.com/procure"
>     elementFormDefault="qualified">
>     <xs:include schemaLocation="./commonSchemas.xsd"/>
>     <xs:element name="purchase-order">
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="customer" type="po:customer"/>
>                 <xs:element name="shipper" type="po:shipper" minOccurs="0"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
> </xs:schema>
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://sample.com/procure" targetNamespace="http://sample.com/procure" elementFormDefault="qualified" attributeFormDefault="unqualified">
>     <xs:complexType name="customer">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="address" type="xs:string"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="shipper">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="per-ounce-rate" type="xs:decimal"/>
>         </xs:sequence>
>     </xs:complexType>
> </xs:schema>

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


[jira] Updated: (CXF-1700) XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include

Posted by "Knut Ivar Skogland (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Ivar Skogland updated CXF-1700:
------------------------------------

    Attachment: CXFTestXmlBeansXSD.rar

Maven project containing the problem. mvn install and deploy it!

> XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include 
> --------------------------------------------------------------------------
>
>                 Key: CXF-1700
>                 URL: https://issues.apache.org/jira/browse/CXF-1700
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Leon
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.1.2
>
>         Attachments: CXFTestXmlBeansXSD.rar
>
>
> XMLBeans binding can't seem to handle an xs:include.  see XmlBeansSchemaInitializer.java (Lline #177) Here is sample .xsd to reproduce this problem. 
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema     
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     targetNamespace="http://sample.com/procure"
>     xmlns:po="http://sample.com/procure"
>     elementFormDefault="qualified">
>     <xs:include schemaLocation="./commonSchemas.xsd"/>
>     <xs:element name="purchase-order">
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="customer" type="po:customer"/>
>                 <xs:element name="shipper" type="po:shipper" minOccurs="0"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
> </xs:schema>
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://sample.com/procure" targetNamespace="http://sample.com/procure" elementFormDefault="qualified" attributeFormDefault="unqualified">
>     <xs:complexType name="customer">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="address" type="xs:string"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="shipper">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="per-ounce-rate" type="xs:decimal"/>
>         </xs:sequence>
>     </xs:complexType>
> </xs:schema>

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


[jira] Resolved: (CXF-1700) XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1700.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
         Assignee: Daniel Kulp

> XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include 
> --------------------------------------------------------------------------
>
>                 Key: CXF-1700
>                 URL: https://issues.apache.org/jira/browse/CXF-1700
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Leon
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.1.2
>
>
> XMLBeans binding can't seem to handle an xs:include.  see XmlBeansSchemaInitializer.java (Lline #177) Here is sample .xsd to reproduce this problem. 
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema     
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     targetNamespace="http://sample.com/procure"
>     xmlns:po="http://sample.com/procure"
>     elementFormDefault="qualified">
>     <xs:include schemaLocation="./commonSchemas.xsd"/>
>     <xs:element name="purchase-order">
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="customer" type="po:customer"/>
>                 <xs:element name="shipper" type="po:shipper" minOccurs="0"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
> </xs:schema>
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://sample.com/procure" targetNamespace="http://sample.com/procure" elementFormDefault="qualified" attributeFormDefault="unqualified">
>     <xs:complexType name="customer">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="address" type="xs:string"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="shipper">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="per-ounce-rate" type="xs:decimal"/>
>         </xs:sequence>
>     </xs:complexType>
> </xs:schema>

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


[jira] Updated: (CXF-1700) XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include

Posted by "Knut Ivar Skogland (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Ivar Skogland updated CXF-1700:
------------------------------------

    Attachment:     (was: CXFTestXmlBeansXSD.rar)

> XMLBeans - XmlBeansSchemaInitializer (Lline #177) can't handle xs:include 
> --------------------------------------------------------------------------
>
>                 Key: CXF-1700
>                 URL: https://issues.apache.org/jira/browse/CXF-1700
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Leon
>            Assignee: Daniel Kulp
>            Priority: Critical
>             Fix For: 2.1.2
>
>
> XMLBeans binding can't seem to handle an xs:include.  see XmlBeansSchemaInitializer.java (Lline #177) Here is sample .xsd to reproduce this problem. 
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema     
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     targetNamespace="http://sample.com/procure"
>     xmlns:po="http://sample.com/procure"
>     elementFormDefault="qualified">
>     <xs:include schemaLocation="./commonSchemas.xsd"/>
>     <xs:element name="purchase-order">
>         <xs:complexType>
>             <xs:sequence>
>                 <xs:element name="customer" type="po:customer"/>
>                 <xs:element name="shipper" type="po:shipper" minOccurs="0"/>
>             </xs:sequence>
>         </xs:complexType>
>     </xs:element>
> </xs:schema>
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://sample.com/procure" targetNamespace="http://sample.com/procure" elementFormDefault="qualified" attributeFormDefault="unqualified">
>     <xs:complexType name="customer">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="address" type="xs:string"/>
>         </xs:sequence>
>     </xs:complexType>
>     <xs:complexType name="shipper">
>         <xs:sequence>
>             <xs:element name="name" type="xs:string"/>
>             <xs:element name="per-ounce-rate" type="xs:decimal"/>
>         </xs:sequence>
>     </xs:complexType>
> </xs:schema>

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