Bug 1917

Summary: DTD validator does not check namespace attributes
Product: Xerces-J Reporter: elharo
Component: CoreAssignee: Xerces-J Developers Mailing List <xerces-j-dev>
Status: NEW ---    
Severity: major CC: jeff
Priority: P1    
Version: 1.4   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description elharo 2001-05-27 12:04:12 UTC
Starting in Xerces-J 1.4 (possibly earlier but I just noticed it) the
sax.SAXCOunt validator ignores all attributes used to declare namespaces. e.g.
it thinks that this document is valid:

<!DOCTYPE test [
  <!ELEMENT test (#PCDATA)>
]>
<test xmlns="http://www.example.com/">
  Hello
</test>


It also seems to be ignoring schema location attributes so that this doucment is
DTD valid:

<!DOCTYPE test [
  <!ELEMENT test (#PCDATA)>
]>
<test 
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.example.com/">
  Hello
</test>

dom.DOMCount has the same problem
Comment 1 Henry Zongaro 2001-11-01 06:46:19 UTC
*** Bug 4558 has been marked as a duplicate of this bug. ***
Comment 2 Henry Zongaro 2001-11-01 07:53:46 UTC
*** Bug 3461 has been marked as a duplicate of this bug. ***