--- Begin Message ---
Hello All.
Can anyone tell me the proper syntax for grouping attributes and
elements in a complexType?  (if that's even my problem) I have the
following complexType:

,----
| <xsd:complexType name="databaseType">
|   <xsd:attribute name="datasource" type="xsd:string" use="required"/>
|   <xsd:element name="table" type="tableType" maxOccurs="unbounded"/>
| </xsd:complexType>
`----

And I'm getting the following error:

,----
| [Error] sgdb.xsd:32:73: s4s-elt-invalid-content.1: The content of 
'databaseType'
|  is invalid.  Element 'element' is invalid, misplaced, or occurs too often.
`----

I've tried placing the xsd:sequence grouping around, but that
complained about the attribute.  Thanks in advance.  Also, attached
are is the schema and the instance document.  Any advice would be
greatly appreciated.

Attachment: sgdb.xsd
Description: Binary data

Attachment: untitled.xml
Description: Binary data

-- 
Thanks,
Jeff

,----
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`----


--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to