http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2596 *** shadow/2596 Thu Jul 12 06:07:58 2001 --- shadow/2596.tmp.20287 Thu Jul 12 06:07:58 2001 *************** *** 0 **** --- 1,26 ---- + +============================================================================+ + | Bad DTD crashes DOM Parser. | + +----------------------------------------------------------------------------+ + | Bug #: 2596 Product: Xerces-C | + | Status: NEW Version: Nightly build | + | Resolution: Platform: Other | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: DOM | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + I have found that an incorrect DTD can crash the DOM parser. For instance I had + + someattribute #REQUIRED + + where I should have had + + someattribute #CDATA #REQUIRED + + I think that the DOMParser should have thrown an exception instead of + segfaulting. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]