From: "Walinsky, Frank" <[EMAIL PROTECTED]>
> When using DocumentHelper.makeElement(root, "a/b id='1'/c") the
> resulting xml document is not valid because the "id" attribute is also
> appended to the end tag.
> <a>
> <b id='1'>
> <c/>
> </b id='1'>
> </a>
> This appears to be a bug. Yes/No?

The makeElement() only accepts a path of element names. I guess it should
test the string for wierd stuff too and throw some kind of
IllegalArgumentException or something.

James




_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to