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/03/07 23:59:32 UTC

[Bug 823] Changed - default namespace declaration node inherited by child elements

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

*** shadow/823	Fri Mar  2 14:26:47 2001
--- shadow/823.tmp.10972	Wed Mar  7 14:59:32 2001
***************
*** 2,11 ****
  | default namespace declaration node inherited by child elements             |
  +----------------------------------------------------------------------------+
  |        Bug #: 823                         Product: Xerces-J                |
! |       Status: NEW                         Version: 1.3.0                   |
! |   Resolution:                            Platform: Sun                     |
  |     Severity: Normal                   OS/Version: Solaris                 |
! |     Priority:                           Component: Schema-Structures       |
  +----------------------------------------------------------------------------+
  |  Assigned To: xerces-j-dev@xml.apache.org                                  |
  |  Reported By: matt@avolent.com                                             |
--- 2,11 ----
  | default namespace declaration node inherited by child elements             |
  +----------------------------------------------------------------------------+
  |        Bug #: 823                         Product: Xerces-J                |
! |       Status: RESOLVED                    Version: 1.3.0                   |
! |   Resolution: INVALID                    Platform: Sun                     |
  |     Severity: Normal                   OS/Version: Solaris                 |
! |     Priority: High                      Component: Schema-Structures       |
  +----------------------------------------------------------------------------+
  |  Assigned To: xerces-j-dev@xml.apache.org                                  |
  |  Reported By: matt@avolent.com                                             |
***************
*** 147,150 ****
  It does not appear to work in Xerces 1.3.0.
  
  Thanks,
! matt
--- 147,160 ----
  It does not appear to work in Xerces 1.3.0.
  
  Thanks,
! matt
! 
! ------- Additional Comments From neilg@ca.ibm.com  2001-03-07 14:59 -------
! There is a bug in Xerces here, but the XML is buggy too.  Because you've set 
! elementFormDefault to "unqualified", <Header> is in the null namespace.  Yet 
! you've bound the default namespace in the instance doc to "depot://...", which 
! does not contain <Header>.  You need to use elementFormDefault="qualified" to 
! achieve this effect.  But even then it probably won't work because Xerces 
! doesn't support more than one pair of schemaLocation values in the instance 
! doc; as a workaround, perhaps you could <include> or <import> one schema into 
! the other.