You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Dirk Schalle (JIRA)" <xe...@xml.apache.org> on 2006/06/08 21:59:32 UTC

[jira] Created: (XERCESJ-1168) Whitespace Facet Defined in XSModel but not in XML Schema

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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Resolved: (XERCESJ-1168) Whitespace Facet Defined in XSModel but not in XML Schema

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org