Emiliano wrote:
> 
> I'm using XXE to create an XML doxument that contains IDs. Part of the DTD
> looks like this:
> 
> <!ELEMENT choose ( text, option+ ) >
> <!ATTLIST choose
>    id ID #REQUIRED
> >
> 
> <!ELEMENT option ( #PCDATA ) >
> <!ATTLIST option id ID #REQUIRED >
> 
> The problem I'm seeing is that XXE reliably assigns the same auto-generated
> ID value to the choose element and its first option :<

Thanks for reporting this bug. I've just finished fixing it. The fix
will be found in next release, the M1.3p1.

> Is there a workaround for this?

Not really. Use the attribute editor and specify your own value for
attribute id.

Note that the auto-generated ID was just intended to be a placeholder
for a more sensible value. 

Also note that in the future product, required attributes will not be
automatically added to a newly created element (unless created using a
JavaScript (or BeanShell?) user-defined macro).

Reply via email to