Hello Mark,
We are not aware of this bug. Trying with a simple schema like the one
attached does not show it, so we will appreciate posting such a schema.
Thank you,
Sorin
http://www.oxygenxml.com/
Mark Seaborne wrote:
Thanks.
I also notice that Oxygen doesn't always use values of the correct type
in instances it creates. For example a schema I used has a type of
string restricted to 25 characters in length. The generated string was
too long. Will this also be addressed in the future?
All the best
Mark
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="root1">
<xs:complexType>
<xs:sequence>
<xs:element name="child1" minOccurs="200" maxOccurs="250">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="25"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="child2" minOccurs="200" maxOccurs="250">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="25"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user