serializing DFA/XSDNFA automata [message #602797] |
Tue, 15 January 2008 12:52 |
Eclipse User |
|
|
|
Hi,
we are using version 2.2.3 of org.eclipse.xsd at the moment in order to
preserve compatibility wit java 1.4.x.
We are producing maps mapping elemDeclNames to the corresponding
org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA automata to access them in
order to satisfy queries.
Is there a way to serialize such maps in order to create cached copy of
the rules and avoid each time their building?
We are obtaining the following exception while serializing:
Error saving rules map org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA
java.io.NotSerializableException:
org.eclipse.xsd.impl.XSDParticleImpl$XSDNFA
at
java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.j ava:1059).....
I've seen that in the JavaDoc of previous versions of the library, i.e.
2.1.1 the Serializable interface was implemented.
Class org.eclipse.xsd.impl.XSDParticleImpl extends
XSDComplexTypeContentImpl implements Serializable
Has the modality of serialization been changed? Is there a different way
to obtain the same result?
Thanks in advance for any hint
Tommaso
|
|
|
Powered by
FUDForum. Page generated in 0.27837 seconds