You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Adrian Dick (JIRA)" <ax...@ws.apache.org> on 2005/06/27 12:17:59 UTC

[jira] Created: (AXISCPP-711) Some XSD built-in simple types should only be available as Attributes

Some XSD built-in simple types should only be available as Attributes
---------------------------------------------------------------------

         Key: AXISCPP-711
         URL: http://issues.apache.org/jira/browse/AXISCPP-711
     Project: Axis-C++
        Type: Bug
  Components: Client - Deserialization, Serialization, Server - Deserialization  
    Versions: current (nightly)    
    Reporter: Adrian Dick
 Assigned to: Adrian Dick 


Some of the XSD built-in simple types are only for use within attributes, but the current Axis C++ API makes these also available for use within elements.  eg getElementAsNMTOKEN().

The types which should only be attributes are:
NMTOKEN
NMTOKENS
ID
IDREF
IDREFS
ENTITY
ENTITIES

-- 
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


[jira] Closed: (AXISCPP-711) Some XSD built-in simple types should only be available as Attributes

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-711?page=all ]
     
Adrian Dick closed AXISCPP-711:
-------------------------------

    Resolution: Won't Fix

The XSD spec only state these SHOULD only be used attributes, therefore it is not wrong to permit them as elements.  Seeing as we already have the implementation and testcases, we should leave this in for now.

> Some XSD built-in simple types should only be available as Attributes
> ---------------------------------------------------------------------
>
>          Key: AXISCPP-711
>          URL: http://issues.apache.org/jira/browse/AXISCPP-711
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization, Client - Deserialization, Server - Deserialization
>     Versions: current (nightly)
>     Reporter: Adrian Dick
>     Assignee: Adrian Dick

>
> Some of the XSD built-in simple types are only for use within attributes, but the current Axis C++ API makes these also available for use within elements.  eg getElementAsNMTOKEN().
> The types which should only be attributes are:
> NMTOKEN
> NMTOKENS
> ID
> IDREF
> IDREFS
> ENTITY
> ENTITIES

-- 
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