Elena Litani wrote:
>
> Davanum Srinivas wrote:
>
> > NullPointerException. This is due to the URI that is stored...In Xerces2 getURI() 
>returns null, in
> > Xerces1 getURI() returns an empty string. If you need more information, shoot me a 
>mail.
>
> In Xerces2 we've decided to use null instead of empty string for URI.
> As a temporary solution, I can fix the problem in AbstractSAXParser
> (getURI() - to return "" instead of null).
> However, I am not sure that this is right - I believe that the problem
> is in SAX definition.
> Why is it required that URI would be an empty string, which btw is not a
> legal URI?

For the record, if it were the case that I had to check for both null and
"", I would be glad to accomodate.

What I don't want to have to do is to check for
java.lang.NullPointerException when making calls to Attributes.getValue
()...

- Sam Ruby


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

Reply via email to