Jens Muehlenhoff wrote:
> <!ELEMENT Foundation.Core.Element (XMI.extension*)? >
>                                   ^^^^^^^^^^^^^^^^^
> 
> the parameter 'model' contains then "XMI.extension*?"
> 
> I guess it should be "(XMI.extension*)?"
> 
> Is is a bug or a feature?

I would call it a bug in your DTD. ;)

The model string is built from the internal structure of the
content model. So while your construction is allowed, it
yields strange results on the round-trip. I would suggest
that you change your declaration to the following:

 <!ELEMENT Foundation.Core.Element (XMI.extension*) >

Hmmm... is this a standard DTD for XMI?

-- 
Andy Clark * IBM, JTC - Silicon Valley * [EMAIL PROTECTED]

Reply via email to