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 "Fred Preston (JIRA)" <ax...@ws.apache.org> on 2005/11/04 15:04:19 UTC

[jira] Created: (AXISCPP-865) XSD_NMTOKEN test is using the following incorrect message string, "This is a message!".

XSD_NMTOKEN test is using the following incorrect message string, "This is a message!".
---------------------------------------------------------------------------------------

         Key: AXISCPP-865
         URL: http://issues.apache.org/jira/browse/AXISCPP-865
     Project: Axis-C++
        Type: Bug
  Components: Test  
 Environment: n/a
    Reporter: Fred Preston


In XSD_NMTOKEN the token message is set to "This is a message!".  The server always replies with a fault.  Under further investigation, a NMTOKEN cannot be longer than 8 characters and only a very restricted set of characters are allowable.  If I change the message to be just 'message' the test passed successfully (although the esxpected results is now incorrect!).

-- 
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] Updated: (AXISCPP-865) XSD_NMTOKEN test is using the following incorrect message string, "This is a message!".

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

Fred Preston updated AXISCPP-865:
---------------------------------

    Description: 
In XSD_NMTOKEN the token message is set to "This is a message!".  The server always replies with a fault.  Under further investigation, a NMTOKEN only uses a very restricted set of characters.  If I change the message to be just 'message' the test passed successfully (although the esxpected results is now incorrect!).  Here is the part of the NMTOKEN section from the XML spec.

An Nmtoken (name token) is any mixture of name characters.

Names and Tokens
[4]     NameChar    ::=     Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender 
[5]    Name    ::=    (Letter | '_' | ':') ( NameChar)* 
[6]    Names    ::=    Name (#x20 Name)*  /* [E62] */ 
[7]    Nmtoken    ::=    (NameChar)+ 


  was:In XSD_NMTOKEN the token message is set to "This is a message!".  The server always replies with a fault.  Under further investigation, a NMTOKEN cannot be longer than 8 characters and only a very restricted set of characters are allowable.  If I change the message to be just 'message' the test passed successfully (although the esxpected results is now incorrect!).


> XSD_NMTOKEN test is using the following incorrect message string, "This is a message!".
> ---------------------------------------------------------------------------------------
>
>          Key: AXISCPP-865
>          URL: http://issues.apache.org/jira/browse/AXISCPP-865
>      Project: Axis-C++
>         Type: Bug
>   Components: Test
>  Environment: n/a
>     Reporter: Fred Preston

>
> In XSD_NMTOKEN the token message is set to "This is a message!".  The server always replies with a fault.  Under further investigation, a NMTOKEN only uses a very restricted set of characters.  If I change the message to be just 'message' the test passed successfully (although the esxpected results is now incorrect!).  Here is the part of the NMTOKEN section from the XML spec.
> An Nmtoken (name token) is any mixture of name characters.
> Names and Tokens
> [4]     NameChar    ::=     Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender 
> [5]    Name    ::=    (Letter | '_' | ':') ( NameChar)* 
> [6]    Names    ::=    Name (#x20 Name)*  /* [E62] */ 
> [7]    Nmtoken    ::=    (NameChar)+ 

-- 
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-865) XSD_NMTOKEN test is using the following incorrect message string, "This is a message!".

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

    Resolution: Duplicate

As discussed with Fred,  if input message must not have any spaces and " ! " is not a valid character, Client should restrict or should not allow this input in the request message.  This means, Axis C++ should check for incorrect/invalid inputs in the request message and restrict/report an error when incorrect inputs are sent.  

This is same as  AXISCPP-789 issue which talks about  "Axis C++ should catch invalid/incorrect inputs in the request messages ". and hence I am closing this issue. 

Thanks,
Manohar




> XSD_NMTOKEN test is using the following incorrect message string, "This is a message!".
> ---------------------------------------------------------------------------------------
>
>          Key: AXISCPP-865
>          URL: http://issues.apache.org/jira/browse/AXISCPP-865
>      Project: Axis-C++
>         Type: Bug
>   Components: Test
>  Environment: n/a
>     Reporter: Fred Preston

>
> In XSD_NMTOKEN the token message is set to "This is a message!".  The server always replies with a fault.  Under further investigation, a NMTOKEN only uses a very restricted set of characters.  If I change the message to be just 'message' the test passed successfully (although the esxpected results is now incorrect!).  Here is the part of the NMTOKEN section from the XML spec.
> An Nmtoken (name token) is any mixture of name characters.
> Names and Tokens
> [4]     NameChar    ::=     Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender 
> [5]    Name    ::=    (Letter | '_' | ':') ( NameChar)* 
> [6]    Names    ::=    Name (#x20 Name)*  /* [E62] */ 
> [7]    Nmtoken    ::=    (NameChar)+ 

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