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/07/09 19:36:19 UTC
[Bug 2508] - When validating turned on, XML with no DTD is reporting to be invalid
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2508
*** shadow/2508 Sun Jul 8 19:26:16 2001
--- shadow/2508.tmp.12835 Mon Jul 9 10:36:19 2001
***************
*** 2,9 ****
| When validating turned on, XML with no DTD is reporting to be invalid |
+----------------------------------------------------------------------------+
| Bug #: 2508 Product: Xerces-J |
! | Status: NEW Version: 1.4 |
! | Resolution: Platform: PC |
| Severity: Blocker OS/Version: Windows NT/2K |
| Priority: Other Component: DTD |
+----------------------------------------------------------------------------+
--- 2,9 ----
| When validating turned on, XML with no DTD is reporting to be invalid |
+----------------------------------------------------------------------------+
| Bug #: 2508 Product: Xerces-J |
! | Status: RESOLVED Version: 1.4 |
! | Resolution: INVALID Platform: PC |
| Severity: Blocker OS/Version: Windows NT/2K |
| Priority: Other Component: DTD |
+----------------------------------------------------------------------------+
***************
*** 22,25 ****
declared. The XML should not be getting validated since it has no DTD reference.
This seems to be a pretty big problem, however searching through the bug
! database noone has reported it?
--- 22,32 ----
declared. The XML should not be getting validated since it has no DTD reference.
This seems to be a pretty big problem, however searching through the bug
! database noone has reported it?
!
! ------- Additional Comments From neilg@ca.ibm.com 2001-07-09 10:36 -------
! From the XML 1.0 2nd edition, section 2.8, we have: "Definition: An XML
! document is valid if it has an associated document type declaration and if the
! document complies with the constraints expressed in it." Thus, if an XML
! document has no document type declaration it can't be valid and the parser is
! right to produce an error if validation is turned on for such a document.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org