[ http://issues.apache.org/jira/browse/XERCESJ-1168?page=all ]
     
Michael Glavassevich resolved XERCESJ-1168:
-------------------------------------------

    Resolution: Invalid

This isn't a bug.  The whiteSpace facet is defined for all atomic and list [1] 
datatypes (including all of the built-ins).

[1] http://www.w3.org/TR/xmlschema-2/#rf-whiteSpace

> Whitespace Facet Defined in XSModel but not in XML Schema
> ---------------------------------------------------------
>
>          Key: XERCESJ-1168
>          URL: http://issues.apache.org/jira/browse/XERCESJ-1168
>      Project: Xerces2-J
>         Type: Bug

>   Components: XML Schema API
>     Versions: 2.8.0
>     Reporter: Dirk Schalle
>     Priority: Minor

>
> When loading the XML Schema below (or any other schema for that matter) with 
> XSLoader and traversing the XSModel, I recognized that the 
> XSSimpleTypeDefinition for the element returns the whitespace facet as 
> defined, when calling getDefinedFacets(). After trying various schemas, I 
> didn't find a single case, where the whitespace face was not defined.
> <schema
>       targetNamespace="http://www.sample.com/Test";
>       xmlns="http://www.w3.org/2001/XMLSchema";>
>       <element name="test" type="string"/>
> </schema>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to