[jira] Commented: (UIMA-1290) Need a Way to Determine if Two Type Systems Are Compatible

2009-02-10 Thread Eddie Epstein (JIRA)

[ 
https://issues.apache.org/jira/browse/UIMA-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672342#action_12672342
 ] 

Eddie Epstein commented on UIMA-1290:
-

For XMI serialization, compatible means the service's type system is a proper 
subset of the client's type system. That is, no new types or features, and the 
features must have the same range types. For binary serialization, identical 
type and feature codes and feature range types.

> Need a Way to Determine if Two Type Systems Are Compatible
> --
>
> Key: UIMA-1290
> URL: https://issues.apache.org/jira/browse/UIMA-1290
> Project: UIMA
>  Issue Type: New Feature
>  Components: Core Java Framework
>Reporter: Jerry Cwiklik
>
> Uima AS client needs to validate that the type system returned from a Uima AS 
> service is compatible. In case when a binary serialization is used, the type 
> systems *must* be identical. For XMI serialization, the type system of the 
> delegate*must* be compatible but not necessarily identical. The core should 
> provide an API which will enable the validation of type systems. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (UIMA-1290) Need a Way to Determine if Two Type Systems Are Compatible

2009-02-10 Thread Thilo Goetz (JIRA)

[ 
https://issues.apache.org/jira/browse/UIMA-1290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672277#action_12672277
 ] 

Thilo Goetz commented on UIMA-1290:
---

Not sure I understand all the requirements.  When you say "type system", do you 
mean a type system object like in CAS.getTypeSystem(), or do you mean an XML 
rendering?  I understand that for binary serialization, the type systems must 
be identical in the sense that the internal type codes must be the same.  What 
do you mean by "compatible"?  And what do you mean by "validation of type 
systems"?

> Need a Way to Determine if Two Type Systems Are Compatible
> --
>
> Key: UIMA-1290
> URL: https://issues.apache.org/jira/browse/UIMA-1290
> Project: UIMA
>  Issue Type: New Feature
>  Components: Core Java Framework
>Reporter: Jerry Cwiklik
>
> Uima AS client needs to validate that the type system returned from a Uima AS 
> service is compatible. In case when a binary serialization is used, the type 
> systems *must* be identical. For XMI serialization, the type system of the 
> delegate*must* be compatible but not necessarily identical. The core should 
> provide an API which will enable the validation of type systems. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (UIMA-1227) Help users debug binary CAS serialization problems

2009-02-10 Thread Jerry Cwiklik (JIRA)

[ 
https://issues.apache.org/jira/browse/UIMA-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672272#action_12672272
 ] 

Jerry Cwiklik commented on UIMA-1227:
-

This JIRA depends on core UIMA-1290. The core frameworks should provide an API 
to enable validation of typesystems.

> Help users debug binary CAS serialization problems
> --
>
> Key: UIMA-1227
> URL: https://issues.apache.org/jira/browse/UIMA-1227
> Project: UIMA
>  Issue Type: Improvement
>  Components: Async Scaleout
>Reporter: Eddie Epstein
>
> In order to use binary CAS serialization for remote services, both client and 
> service must have identical type systems. If not the same, binary 
> deserialization is likely to throw exceptions. The service request handler 
> should catch these exceptions when using binary deserialization and add 
> message suggesting a likely cause of the problem: unequal type systems.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (UIMA-1290) Need a Way to Determine if Two Type Systems Are Compatible

2009-02-10 Thread Jerry Cwiklik (JIRA)
Need a Way to Determine if Two Type Systems Are Compatible
--

 Key: UIMA-1290
 URL: https://issues.apache.org/jira/browse/UIMA-1290
 Project: UIMA
  Issue Type: New Feature
  Components: Core Java Framework
Reporter: Jerry Cwiklik


Uima AS client needs to validate that the type system returned from a Uima AS 
service is compatible. In case when a binary serialization is used, the type 
systems *must* be identical. For XMI serialization, the type system of the 
delegate*must* be compatible but not necessarily identical. The core should 
provide an API which will enable the validation of type systems. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.