errorHandler dom3.dtd problem

I expected that I would have to write an ErrorHandler like this:

<var name="errorHandler" type="DOMErrorHandler">
  <var name='error'            type='DOMError'/>

  <var name='severity'         type='short'/>
  <var name='message'          type='DOMString'/>
  <var name='type'             type='DOMString'/>
  <var name='location'         type='DOMLocator'/>

  <handleError>
    <severity     var='severity'         obj='error'/>
    <message      var='message'          obj='error'/>
    <type         var='type'             obj='error'/>
    <location     var='location'         obj='error'/>

    <assertEquals id="handler_1" actual="type" expected='"whatever"'/>
    <return value="false"/>
  </handleError>
</var>


The stylesheet produces java code that looks ok.

My generated dom3.dtd however requests the following structure on
handleError:


<!ELEMENT handleError EMPTY >
<!ATTLIST handleError
    id ID #IMPLIED
    obj CDATA #REQUIRED
    var CDATA #REQUIRED
    error CDATA #REQUIRED
    interface (DOMErrorHandler) #IMPLIED
>

Which seems incorrect.

The same counts for DOMBuilderFilter: whatToShow

Any idea ?


Jeroen

=====
X-Hive Corporation
Jeroen van Rotterdam, CEO
e-mail: jeroen@x-hive.com
phone: +31 10 2818080
http://www.x-hive.com

Received on Sunday, 19 January 2003 12:35:30 UTC