XSD Schema Editor Question [message #1273283] |
Wed, 19 March 2014 16:51  |
Eclipse User |
|
|
|
Hi,
I would like to create a XSDComplexTypeDefinition using the XSD Schema Editor: something like below:
<xs:complexType id="nl-types2_emailItemType" name="email2ItemType">
<xs:simpleContent>
<xs:restriction base="xbrli:stringItemType">
<xs:minLength fixed="false" value="7"/>
<xs:maxLength fixed="false" value="254"/>
<xs:pattern value="[^@]+@[^@]+"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
However, I am not able to set the base type. Looking at the code, the basetype property is defined as not settable in the ItemProvider.
I think I am missing something - what am I missing?
Arjan Kok.
|
|
|
|
|
Re: XSD Schema Editor Question [message #1274529 is a reply to message #1274301] |
Fri, 21 March 2014 11:46  |
Eclipse User |
|
|
|
Arjan,
The web tools project provides a full function editor, so yes, you'll be
better off to install WTP's XML tools....
On 21/03/2014 2:02 AM, Arjan Kok wrote:
> Ed,
>
> Yes, probably I am using the sample XSD Editor because I am
> definitively not using the feature rich editor provided by the
> Web-Tools project.
> However, I cannot find the sample XSD Editor in the list of plugins we
> are shipping (???) Is it part of the another plugin?
>
> Do you recommend to use the Web-Tools editor because of this
> non-settable base type problem?
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03461 seconds