It would be great if the duplicate id exception actually reported the
duplicate id (I'm passing in the form via a DOM, so the location can't
be reported - I assume this is the reason anyway).
// Make sure there are no duplicate ids
if (idsToControlInfo.get(effectiveControlId) != null)
throw new ValidationException("Duplicate id for
XForms control", new ExtendedLocationData((LocationData)
controlElement.getData(),
"analyzing control element", controlElement));
Should be simple to add effectiveControlId to the exception string.
Adrian
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws