Hello,

I couldn't reach the archives so I dont know if this has already been
answered before.

Since upgrading to Xerces 2_2_0 (from version 1_2_3), I don't receive any
uri in the endElement callback (see bleow) when using the SAX-parser that is
uri is null even though there is a namespace (I do get the uri namespace in
the startElement method). With Xerces 1_2_3 I got the namespace at both
locations.

Example when parsing the following document:

  <message xmlns:html="http://www.eris.se/html";>
    <html:p>Test paragraph</html:p>
  </message>

with

  public void startElement(String uri, String local, String raw, Attributes
attrs)
  { ... }
  public void endElement(String uri, String local, String raw)
  { ... }

I get:

  startElement -> uri == "http://www.eris.se/html";
  endElement -> uri == null

Is this a bug or have I missed something in how you are allowd to use it.


/Olle


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

Reply via email to