MinFacet, MaxFacet of xs:int with values 2147483647 [message #70624] |
Mon, 13 November 2006 10:37  |
Eclipse User |
|
|
|
Originally posted by: mgonzalez.ibit.org
When we make getFacetContents() of an element of type xs:int we get the
MinFacet and MaxFacet with values like 2147483647, -2147483647 and the
element doesn't have fixed these facets.
There is a way of getting the real facets that are really fixed?
The XML is
<xs:element name="codiAdreca" type="xs:int" minOccurs="0" maxOccurs="1"/>
this element is inside a sequence in a complex type.
Thanks.
Marilen.
|
|
|
Re: MinFacet, MaxFacet of xs:int with values 2147483647 [message #70642 is a reply to message #70624] |
Mon, 13 November 2006 12:22   |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Marilen,
You're asking for the facets of the type "int" which definitely has
those facets, but elements themselves don't have facets. If you want to
know about the mixOccurs and maxOccurs values, you have too look for
that information on the XSDParticle containing the element not on the
element's type.
Marilen wrote:
> When we make getFacetContents() of an element of type xs:int we get
> the MinFacet and MaxFacet with values like 2147483647, -2147483647 and
> the element doesn't have fixed these facets.
>
> There is a way of getting the real facets that are really fixed?
>
> The XML is
>
> <xs:element name="codiAdreca" type="xs:int" minOccurs="0" maxOccurs="1"/>
>
> this element is inside a sequence in a complex type.
>
> Thanks.
> Marilen.
>
>
|
|
|
|
Re: MinFacet, MaxFacet of xs:int with values 2147483647 [message #599136 is a reply to message #70624] |
Mon, 13 November 2006 12:22  |
Eclipse User |
|
|
|
Marilen,
You're asking for the facets of the type "int" which definitely has
those facets, but elements themselves don't have facets. If you want to
know about the mixOccurs and maxOccurs values, you have too look for
that information on the XSDParticle containing the element not on the
element's type.
Marilen wrote:
> When we make getFacetContents() of an element of type xs:int we get
> the MinFacet and MaxFacet with values like 2147483647, -2147483647 and
> the element doesn't have fixed these facets.
>
> There is a way of getting the real facets that are really fixed?
>
> The XML is
>
> <xs:element name="codiAdreca" type="xs:int" minOccurs="0" maxOccurs="1"/>
>
> this element is inside a sequence in a complex type.
>
> Thanks.
> Marilen.
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05455 seconds