1) In Namespace.java Shouldn't Namespace implement Serializable? public final class Namespace implements java.io.Serializable { ... 2) In DocType.java two imports are unnecessary. import java.util.LinkedList; import java.util.List; Regards, Gabor