This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
DOMBuilderTest1-4 in L3 L&S and other tests can not be written using the existing assertDOMException construct. In DOMBuilderTest1-4, parseWithContext can either throw a NOT_SUPPORTED_ERR or perform the requested action. Other tests may have multiple allowable return codes which this construct would support, though it would be better to rewrite the test so that only one error in applicable. Basically, <try> <!-- one or more statements --> <catch> <!-- one of more exception clauses --> <DOMException code="NOT_SUPPORTED_ERR"> <!-- one or more statements --> </DOMException> </catch> </try>
Created attachment 118 [details] Adds try construct to DTD, schema and test generation code
Created attachment 120 [details] Refinement of Java and ECMAScript production