Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » serializing DFA/XSDNFA automata
serializing DFA/XSDNFA automata [message #602797] Tue, 15 January 2008 12:52
Tommaso is currently offline TommasoFriend
Messages: 6
Registered: July 2009
Junior Member
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
Previous Topic:[Announce] IMM component proposal
Next Topic:serializing DFA/XSDNFA automata
Goto Forum:
  


Current Time: Sat Nov 29 09:00:26 GMT 2014

Powered by FUDForum. Page generated in 0.03003 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software