Hello,

I am using Xerces 2.2.0a, and I have trouble with the namespaces.
Even if I explicitly set "http://xml.org/sax/features/namespaces";
and "http://xml.org/sax/features/namespace-prefixes"; to "true",
(with parser.setFeature() ), the feature does not work!

In my content handler, the startPrefixMapping() method never gets
called, and the startElement() method always starts with the
"namespaceURI" attribute undefined (if I try to print its value
inside startElement() its "null"). So even if the tag does not
have a namespace prefix, namespaceURI value is not "" (empty srting),
but "null" - which of course means that even by checking its value
in an "if" statement, the program crashes.

Can you please help me? Am I doing something wrong?

Thanks in advance,
Grigoris Dimitriadis



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to