You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Frank Budinsky (JIRA)" <tu...@ws.apache.org> on 2007/03/15 23:37:09 UTC
[jira] Resolved: (TUSCANY-1169) Property.getType() throws
ClassCastException if the property is from
AnyDataObjectType.getInstanceProperties()
[ https://issues.apache.org/jira/browse/TUSCANY-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Budinsky resolved TUSCANY-1169.
-------------------------------------
Resolution: Fixed
Fixed in revision 518790.
> Property.getType() throws ClassCastException if the property is from AnyDataObjectType.getInstanceProperties()
> --------------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1169
> URL: https://issues.apache.org/jira/browse/TUSCANY-1169
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M3
> Reporter: Raymond Feng
>
> I try to load the following XML document without defining XSD against the XSDHelper.
> <?xml version="1.0" encoding="UTF-8"?>
> <p:op xmlns:p="http://www.example.com/wrapper" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.example.com/wrapper wrapper.xsd ">
> <message>message</message>
> <symbol>symbol</symbol>
> <message>message1</message>
> <symbol>symbol1</symbol>
> <symbol>symbol2</symbol>
> </p:op>
> Then when I call:
> List properties = rootObject.getInstanceProperties();
> For a property in the list, calling p.getType() gives me a ClassCastException.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org