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/08 18:34:48 UTC

[Bug 1660] New - Validator claims default attributes are required!

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

*** shadow/1660	Tue May  8 09:34:48 2001
--- shadow/1660.tmp.450	Tue May  8 09:34:48 2001
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | Validator claims default attributes are required!                          |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1660                        Product: Xerces-J                |
+ |       Status: NEW                         Version: cvs extract (inc        |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Blocker                  OS/Version: All                     |
+ |     Priority: High                      Component: DTD                     |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: xerces-j-dev@xml.apache.org                                  |
+ |  Reported By: lehors@apache.org                                            |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Something changed in the validator recently and it now claims that default 
+ attributes are required!
+ 
+ xmlns.xml:
+ <!DOCTYPE foo [
+ <!ELEMENT foo EMPTY>
+ <!ATTLIST foo xmlns CDATA "foo.com">
+ ]>
+ <foo/>
+ 
+ java sax.DocumentTracer xmlns.xml gives:
+ [Error] xmlns.xml:5:7: Attribute "xmlns" is required and must be specified for 
+ element type "foo".

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