Added hook to marshaller for preprocessing. Extended helper for nonvisible prefixes to pass up the whole declaration, and prevent removal of visible prefix if declared to a different namespace. Detect attempts to add the same prefix with a different namespace.
Populate root node with non-visible prefix declarations, and add to prefix list in content reference during marshalling stage. Hook the marshaller in signable object impls. Redo CR implementation to remove duplicate walk of prefixes.
Scott Cantor August 20, 2010 at 3:43 PM
Reopening, need to rework helper API to let me declare the to-be-inclusive namespaces on the object being signed.
Current signature code adds all encountered prefixes to the inclusive list, essentially undermining use of exclusive c14n.