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/10/05 18:44:47 UTC
[jira] Created: (AXISCPP-850) A name cannot contain a '.' or any other character that will be interpreted by the C compiler even though it is a valid XML character
A name cannot contain a '.' or any other character that will be interpreted by the C compiler even though it is a valid XML character
-------------------------------------------------------------------------------------------------------------------------------------
Key: AXISCPP-850
URL: http://issues.apache.org/jira/browse/AXISCPP-850
Project: Axis-C++
Type: Bug
Components: WSDL processing - Doc, WSDL processing - RPC
Environment: n/a
Reporter: Fred Preston
Not all valid XML character that can be used in a name are benign when translated into C/C++. For example if a name contains a '.' this will be interpreted by the C compiler and will lead to errors and or unexpected behaviour. For example, if an element name is defined as follows:-
<xsd:element name="jack.frost" type="xsd:string"/>
Then this will produce the following code:
xsd__string jack.frost;
And where it is used:
jack.frost = "freezing";
The solution to this problem is to replace all 'C/C++ significant', but valid XML characters with one benign characters such as '_'. Thus:-
xsd__string jack.frost;
Becomes:-
xsd__string jack_frost;
--
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] Resolved: (AXISCPP-850) A name cannot contain a '.' or any other character that will be interpreted by the C compiler even though it is a valid XML character
Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-850?page=all ]
Fred Preston resolved AXISCPP-850:
----------------------------------
Resolution: Fixed
I now believe this to be complete. I've written a Unit Test to check the function (UT_ValidXMLCharIsInterpretedAsCPPCommand).
> A name cannot contain a '.' or any other character that will be interpreted by the C compiler even though it is a valid XML character
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-850
> URL: http://issues.apache.org/jira/browse/AXISCPP-850
> Project: Axis-C++
> Type: Bug
> Components: WSDL processing - RPC, WSDL processing - Doc
> Environment: n/a
> Reporter: Fred Preston
> Assignee: Fred Preston
>
> Not all valid XML character that can be used in a name are benign when translated into C/C++. For example if a name contains a '.' this will be interpreted by the C compiler and will lead to errors and or unexpected behaviour. For example, if an element name is defined as follows:-
> <xsd:element name="jack.frost" type="xsd:string"/>
> Then this will produce the following code:
> xsd__string jack.frost;
> And where it is used:
> jack.frost = "freezing";
> The solution to this problem is to replace all 'C/C++ significant', but valid XML characters with one benign characters such as '_'. Thus:-
> xsd__string jack.frost;
> Becomes:-
> xsd__string jack_frost;
--
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] Assigned: (AXISCPP-850) A name cannot contain a '.' or any other character that will be interpreted by the C compiler even though it is a valid XML character
Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-850?page=all ]
Fred Preston reassigned AXISCPP-850:
------------------------------------
Assign To: Fred Preston
Currently looking at this...
> A name cannot contain a '.' or any other character that will be interpreted by the C compiler even though it is a valid XML character
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-850
> URL: http://issues.apache.org/jira/browse/AXISCPP-850
> Project: Axis-C++
> Type: Bug
> Components: WSDL processing - RPC, WSDL processing - Doc
> Environment: n/a
> Reporter: Fred Preston
> Assignee: Fred Preston
>
> Not all valid XML character that can be used in a name are benign when translated into C/C++. For example if a name contains a '.' this will be interpreted by the C compiler and will lead to errors and or unexpected behaviour. For example, if an element name is defined as follows:-
> <xsd:element name="jack.frost" type="xsd:string"/>
> Then this will produce the following code:
> xsd__string jack.frost;
> And where it is used:
> jack.frost = "freezing";
> The solution to this problem is to replace all 'C/C++ significant', but valid XML characters with one benign characters such as '_'. Thus:-
> xsd__string jack.frost;
> Becomes:-
> xsd__string jack_frost;
--
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-850) A name cannot contain a '.' or any
other character that will be interpreted by the C compiler even though it
is a valid XML character
Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-850?page=all ]
Fred Preston closed AXISCPP-850:
--------------------------------
> A name cannot contain a '.' or any other character that will be interpreted by the C compiler even though it is a valid XML character
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-850
> URL: http://issues.apache.org/jira/browse/AXISCPP-850
> Project: Axis-C++
> Type: Bug
> Components: WSDL processing - RPC, WSDL processing - Doc
> Environment: n/a
> Reporter: Fred Preston
> Assignee: Fred Preston
>
> Not all valid XML character that can be used in a name are benign when translated into C/C++. For example if a name contains a '.' this will be interpreted by the C compiler and will lead to errors and or unexpected behaviour. For example, if an element name is defined as follows:-
> <xsd:element name="jack.frost" type="xsd:string"/>
> Then this will produce the following code:
> xsd__string jack.frost;
> And where it is used:
> jack.frost = "freezing";
> The solution to this problem is to replace all 'C/C++ significant', but valid XML characters with one benign characters such as '_'. Thus:-
> xsd__string jack.frost;
> Becomes:-
> xsd__string jack_frost;
--
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