You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2001/05/10 20:16:45 UTC

[Bug 1164] Changed - ElementNSImpl.getNamespaceURI() returns "" instead of null

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1164

*** shadow/1164	Tue Apr  3 07:49:05 2001
--- shadow/1164.tmp.20281	Thu May 10 11:16:45 2001
***************
*** 2,11 ****
  | ElementNSImpl.getNamespaceURI() returns "" instead of null                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 1164                        Product: Xerces-J                |
! |       Status: NEW                         Version: 1.3.1                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Normal                   OS/Version: Other                   |
! |     Priority:                           Component: DOM                     |
  +----------------------------------------------------------------------------+
  |  Assigned To: xerces-j-dev@xml.apache.org                                  |
  |  Reported By: czhao@commonvision.com                                       |
--- 2,11 ----
  | ElementNSImpl.getNamespaceURI() returns "" instead of null                 |
  +----------------------------------------------------------------------------+
  |        Bug #: 1164                        Product: Xerces-J                |
! |       Status: RESOLVED                    Version: 1.3.1                   |
! |   Resolution: FIXED                      Platform: PC                      |
  |     Severity: Normal                   OS/Version: Other                   |
! |     Priority: High                      Component: DOM                     |
  +----------------------------------------------------------------------------+
  |  Assigned To: xerces-j-dev@xml.apache.org                                  |
  |  Reported By: czhao@commonvision.com                                       |
***************
*** 69,72 ****
  bar NamespaceURI: **
  
  This behavior breaks codes in Soap 2.1 that only test namespaceURI for null but 
! does not test it for "".
--- 69,78 ----
  bar NamespaceURI: **
  
  This behavior breaks codes in Soap 2.1 that only test namespaceURI for null but 
! does not test it for "".
! 
! ------- Additional Comments From lehors@apache.org  2001-05-10 11:16 -------
! You're right, this change came from an internal change to the parser which now 
! uses accross the board an empty string for elements and attributes with no 
! namespace. I changed the way we build our DOM to turn these empty strings into 
! nulls. That solves your problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org