You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/02/08 00:50:19 UTC

[jira] Closed: (XMLBEANS-94) getJavaPropertyName() returns propery names starting with uppercase character

     [ http://issues.apache.org/jira/browse/XMLBEANS-94?page=history ]
     
Jacob Danner closed XMLBEANS-94:
--------------------------------

    Resolution: Won't Fix

This is by design

> getJavaPropertyName() returns propery names starting with uppercase character
> -----------------------------------------------------------------------------
>
>          Key: XMLBEANS-94
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-94
>      Project: XMLBeans
>         Type: Bug
>   Components: SOM
>     Versions: Version 2
>     Reporter: Walter Dorninger

>
> The method getJavaPropertyName() returns property names with the first character being uppercase. This I think is wrong because if you use e.g. apache commons PropertyUtils and try to match a property using the name retrieved by getJavaPropertyName() it does not work because the Property names in the PropertyDescriptor generated by PropertyUtils are LOWER case at the beginning.
> e.g.
> SchemaProperty[] myProperties = myXMLBeanObject.schemaType().getProperties();
> String A = myProperties[0].getJavaPropertyName();
> a has the value "MyProperty"
> PropertyUtils.getPropertyDescriptor(myXMLBeanObject, A) --> will never work because A starts with an upper case character !!!

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org