http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2508 *** shadow/2508 Sun Jul 8 19:26:16 2001 --- shadow/2508.tmp.4908 Sun Jul 8 19:26:16 2001 *************** *** 0 **** --- 1,25 ---- + +============================================================================+ + | 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 | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + I was using the DocumentBuilder parser with validation turned on, and attempted + to parse an XML document which did not have any DTD (neither internal nor + external). + + The parser was reporting a validation error saying my root tag must be + 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? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
