NewXMLGenerator.createCMDocument() returns null [message #723081] |
Wed, 07 September 2011 11:10  |
Eclipse User |
|
|
|
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
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.65981 seconds