Hi,
I am trying to parse a schema file and create the DOM
tree from it. I am using XSDDOMParser, but when I
call:
DOMDocument *pDocument = parser.getDocument();
it returns undefined value. This is the code sniplet
showing how I create the parser:
----------------------------------------
XSDDOMParser parser(0,
XMLPlatformUtils::fgMemoryManager, 0);
parser.setValidationScheme(XercesDOMParser::Val_Never);
parser.setDoNamespaces(true);
ErrorHandler* errHandler = (ErrorHandler*) new
HandlerBase();
parser.setErrorHandler(errHandler);
char* xsdFile = "example.xsd";
parser.parse(xsdFile);
DOMDocument *pDoc = parser.getDocument();
--------------
What am I doing wrong? Any help would be highly
appreciated.
TIA,
Matt.
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]