Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » getFacets() Vs getFacetContents()
getFacets() Vs getFacetContents() [message #598075] Thu, 11 May 2006 05:57
Gili is currently offline GiliFriend
Messages: 1
Registered: July 2009
Junior Member
HI,
What is the difference between getFacets() and getFacetContents()?
In what cases i would like to use the getFacets()function instet of
getFacetContents() and vice versa ?

As i notice, for the following XSD
the getFacetContents() returns only the "XSDPatternFacetImpl"
while the the getFacets() return "XSDPatternFacetImpl" and
"XSDWhiteSpaceFacetImpl"

<xs:simpleType name="myPatern">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/ >
</xs:restriction>
</xs:simpleType>

Gili
Previous Topic:XML Generation and element hiding
Next Topic:getFacets() Vs getFacetContents()
Goto Forum:
  


Current Time: Sat Apr 20 01:21:37 GMT 2024

Powered by FUDForum. Page generated in 0.03082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top