You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Thomas Gentsch (JIRA)" <de...@tuscany.apache.org> on 2011/03/04 20:13:36 UTC

[jira] Created: (TUSCANY-3841) property names containing minus cannot be used

property names containing minus cannot be used
----------------------------------------------

                 Key: TUSCANY-3841
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3841
             Project: Tuscany
          Issue Type: Bug
          Components: C++ SDO
    Affects Versions: Cpp-M3
            Reporter: Thomas Gentsch


XSD with properties named like
  <xsd:element name="file-path" ...
cannot be used (will throw exception).

Easy to fix in DataObjectImpl.cpp by adding a "-" to templateString:

const char* DataObjectImpl::templateString =
    " /abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890=[]._#-";


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira