Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » NewXMLGenerator.createCMDocument() returns null
NewXMLGenerator.createCMDocument() returns null [message #723081] Wed, 07 September 2011 11:10 Go to previous message
gegtot Missing name is currently offline gegtot Missing name
Messages: 6
Registered: September 2011
Junior Member
Hi all,

Just found out that NewXMLGenerator would be a great solution for me to create empty xml skeletons based on schemas.

However, the code snippet below returns cmDocument = null no matter what I do. Am I missing something really obvious here, or is this a bug?

schemaFileName = "file:///home/.../workspace3/xmlgeneratorplugin/myxsd.xsd";
CMDocument cmDocument = NewXMLGenerator.createCMDocument(schemaFileName, errorInfo);


The errorInfo[0] is empty, which strangely implies that all went fine.

I've tried different ways of passing the path including the IFile way...

Thanks,
Georg




 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:CVC-complex-type.5.2 error message that nobody seems to be able to understand...
Next Topic:some kind of restriction
Goto Forum:
  


Current Time: Sun May 26 01:13:37 EDT 2013

Powered by FUDForum. Page generated in 0.01874 seconds