[ 
https://issues.apache.org/jira/browse/TUSCANY-1169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kelvin Goodson updated TUSCANY-1169:
------------------------------------

    Fix Version/s: Java-SDO-M3

> 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
>             Fix For: Java-SDO-M3
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to