The overload of the parse method that takes a String, treats the argument as
XML (which explains the cryptic Exception message).

When creating an XmlObject from a file, you must pass in a File object.
I.e.:

return SchemaDocument.Factory.parse(new
File("C:\\test\\MetadataFileSystem\\PO.xsd"));

-Coram
-- 
View this message in context: 
http://www.nabble.com/FW%3A-SchemaDocument-parse-problem-tf2211098.html#a6155258
Sent from the Xml Beans - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to