Nested xsd any in Sequences
EMF is unable to handle nested sequences where there is an xsd:any or xsd:anyattribute in each sequence.
For example, in the following schema, there is a sequence within another sequence, of which contain an xsd:any:
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://example.com/NestedAny" targetNamespace="http://example.com/NestedAny"> <xs:element name="train" type="TrainType"/> <xs:complexType name="TrainType"> <xs:sequence> <xs:element name="line" type="xs:string"/> <xs:element name="company" type="xs:string"/> <xs:any processContents="lax" minOccurs="1" maxOccurs="1"/> <xs:sequence> <xs:any processContents="skip" minOccurs="1" maxOccurs="1"/> </xs:sequence> </xs:sequence> </xs:complexType> </xs:schema> |
Copyright © Cloud Software Group, Inc. All rights reserved.