The parse method can take either a File or String (and other
datatypes). The second one fails because the String passed as an
argument is not serialized xml.
Tom Gordon
Stéphane Rault wrote:
I'm down on my knee and ask for pardon !!
this works :
CountersDocument cd = CountersDocument.Factory.parse(new
File("c:\\temp\\counter.xml"));
and this fails :
CountersDocument cd =
CountersDocument.Factory.parse("c:\\temp\\counter.xml");
I didn't read the javadoc of XmlObject.Factory...
Thank you for taking time on my stupidities...
Stéphane_head_down ;-)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: user-help@xxxxxxxxxxxxxxxxxxx