Welcome, Guest
Username: Password:
  • Page:
  • 1

TOPIC:

Mapping of embedded <element><simpleType><restriction> with min-/maxOccurs 22 Jun 2011 16:10 #7763


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in to join the conversation.

Last edit: by Denis Filatov.

Mapping of embedded <element><simpleType><restriction> with min-/maxOccurs 23 Jun 2011 09:43 #7765

Hi Thilo,

pls. find attached the translated XSD. to have everything in one package I have also added the XSD I have created from your mail.

Two comments:
- if changing the name of the elements in the XSD you are also changing the XSD spec. and the receiving side will not be able to validate the received message (which e.g. expects an XML element tag <notification-time-selection-criteria> but receives the tag <ct_s_e1>).
- adding maxOccurs="2" will change the syntax of the TTCN-3 field from being an optional field to a record of but shall not change the syntax of the encoded XML instance - it allows creating an invalid message containing two instances of <notification-buffer-interval> but in case of 0 or 1 instances it can be validated by the receiver - until the tag names are not changed related the the XSD known by the receiver.

BR, Gyorgy
Attachments:

Please Log in to join the conversation.

Last edit: by Denis Filatov.
  • Page:
  • 1