Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » NewXMLGenerator.createCMDocument() returns null
NewXMLGenerator.createCMDocument() returns null [message #723478] Thu, 08 September 2011 12:20 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
Read Message
Previous Topic:JSF - More tool support
Next Topic:Plain Java Project Web Service Client
Goto Forum:
  


Current Time: Sat May 25 11:07:49 EDT 2013

Powered by FUDForum. Page generated in 0.01788 seconds