|NewXMLGenerator.createCMDocument() returns null [message #723081]
||Wed, 07 September 2011 15:10
| gegtot Missing name
Registered: September 2011
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 is empty, which strangely implies that all went fine.
I've tried different ways of passing the path including the IFile way...
Powered by FUDForum
. Page generated in 0.01861 seconds