ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Errors while importing XSD

Post new topic  Reply to topic
 Errors while importing XSD « View previous topic :: View next topic » 
Author Message
mangoMan
PostPosted: Wed Sep 08, 2004 2:21 pm    Post subject: Errors while importing XSD Reply with quote

Acolyte

Joined: 16 Oct 2003
Posts: 69

Anyone is welcome to help.

This is the error I get after creating a new message definition file from an imported XSD:

Quote:

Broker will treat Complex Type Definition 'BookingRequestType' as <open> because it has mixed content


Here is what booking request looks like in the schema file:

Quote:

<xsd:complexType name="BookingRequestType" mixed="true">
<xsd:sequence>
<xsd:element name="HolidayNumber" type="xsd:positiveInteger"/>
<xsd:element name="CustomerInformation" type="travel:CustomerInformationType"/>
<xsd:element name="OfficeInformation" type="travel:OfficeInformationType"/>
<xsd:element name="OrderInformation" type="travel:OrderInformationType"/>
</xsd:sequence>
</xsd:complexType>


What does it mean to treat a complex type as open? and
What does mixed content mean?

Thanks in advance.
Back to top
View user's profile Send private message
JLRowe
PostPosted: Thu Sep 09, 2004 12:43 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

http://www.w3schools.com/schema/schema_complex_mixed.asp

Mixed content means in your case there may be elements and text present. MRM cannot model this, and has defined it as open, which means it will accept ANY content within the element.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Errors while importing XSD
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.