bug number: 2265
description:
AnyNode changing namespace prefix to first one encountered for sibling nodes (if the namespace uri is reused).
If AnyNode has the following XML
John
Right
The namespace after unmarshalling & marshalling for the second node (re-using namespace URI but a different prefix)
is changed to the namespace prefix of the first one i.e.
After an unmarshall and marshall, the resulting XML will be
John
Right
The marshalled XML now has "f:lastName" with namespace declaration of "xml:l", resulting in INVALID XML.
castor-version:
SVN of 2008-01-18 16:48