Serializable class XmlValidationError contains non-serializable 
SchemaType(Impl) properties
-------------------------------------------------------------------------------------------

         Key: XMLBEANS-198
         URL: http://issues.apache.org/jira/browse/XMLBEANS-198
     Project: XMLBeans
        Type: Bug
  Components: Validator  
    Versions: TBD, Version 2    
 Environment: N/A
    Reporter: Andreas Loew
    Priority: Minor
     Fix For: Version 2.1, Version 2


When trying to serialize an XmlValidationError (e.g. thrown by a remote EJB 
interface method), a NonSerializableException is thrown:

org.apache.xmlbeans.XmlException: Validation failed ; nested exception is: 
java.io.NotSerializableException: org.apache.xmlbeans.impl.schema.SchemaTypeImpl

Don't know whether it is feasible to make SchemaType serializable? Otherwise 
maybe only include SchemaTypeImpl.toString() values with the state of an 
XmlValidationError to be serialized...

Many thanks in advance,

Andreas


-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to