Thanks for the reply. Sorry. I was out of the loop for a while.
Wherever the error was coming, there was "length = value". I changed it to maxlength = value, minlength = value. It worked. Do you think this is fine?
And now, I have another problem. When I compile my main program that creates content tree and marshals it, it is giving me error like
com/OS/main/integration/xml/XMFileCreator.java [100:1] cannot access org.xml.sax.helpers.XMLFilterImpl
file org\xml\sax\helpers\XMLFilterImpl.class not found
DataWriter writer = new DataWriter(
^
com/OS/main/integration/xml/XMFileCreator.java [104:1] cannot access org.xml.sax.ContentHandler
file org\xml\sax\ContentHandler.class not found
PrefixMapper pm = new PrefixMapper(writer);
^
com/OS/main/integration/xml/XMFileCreator.java [107:1] cannot access org.w3c.dom.Node
file org\w3c\dom\Node.class not found
m.marshal(root, pm);
^
3 errors
Errors compiling XMFileCreator.