On Dec 5, 2006, at 8:38 AM, Simone Gianni wrote:
Care is required : some emerging internet standards (XForms for
example,
but also others) do require namespaces, so :
- Okay for the HTML serializer
- Not okay for the Xhtml serializer, in this case eventually provide a
list of namespaces to remove, and by default fill this list with
namespaces from cocoon.
- Obviously not for the XML output (note that xhtml and xml serializer
are the same class)
Is there ever a need to retain namespace declarations for namespaces
that are not actually used in the result document, i.e. for which there
is no element with that namespace? I think the idea is to just delete
extraneous namespace declarations, not to delete them all...
—ml—