You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Dan Yoder <da...@zeraweb.com> on 2004/09/07 21:03:36 UTC

Compiling OTA (Open Travel Alliance) Schema

I am trying to compile the OTA 2004A schema, but am getting errors from 
XmlBeans. I am having trouble interpreting these messages and 
determining how I might deal with them. If anyone has worked with the 
OTA Schema or has some ideas about how to deal with these errors, please 
advise. TIA.

 * * *

error: Duplicate global type: 
OperationSchedulesPlusChargeType@http://www.opentravel.org/OTA/2003/05

In this case, I am not sure where the duplicate type is being 
encountered or what the "@http ..." part is trying to tell me.

 * * *

src/xsd/2004a/OTA_CodeTable.xsd:0: error: The specified base type is 
not a complex type with complex content.

I have looked at the CodeTable.xsd file and it looks fine. So this is 
also confusing. Here is the start of the file:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.opentravel.org/OTA/2003/05" 
xmlns="http://www.opentravel.org/OTA/2003/05" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
elementFormDefault="qualified" version="1.000" id="OTA2004A">
    <xs:include schemaLocation="OTA_CommonTypes.xsd"/>
    <xs:element name="OTA_CodeTables">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="OTA_CodeTable" maxOccurs="unbounded">
                ...

 * * *

Regards,
-Dan


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