Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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: Thu Apr 25 20:27:41 GMT 2024

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

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

Back to the top