Thomas DeWeese schrieb:
It is also not ideal when the beheavior of the two constructors differs. So for example both methods should throw an exception or both ones should add the svg namespace when there is no other default namespace declared.
No, this would be just wrong (violate specs).
Just beeing curiously.
Why is it no violation when the TranscoderInput(Reader) constructor guesses that the given content is inside the svg namespace?
When you use the SVG transcoder it sets the default namespace to SVG prior to parsing. Thus if the content specifies no namespace it get's SVG.
When you give us a DOM every element already has a namespace associated (even if it is null) and we would be changing it,
this is problematic because the element in the DOM may have to 'morph'
from say a Generic Element (no SVGLocatable interface) to an SVG
Element.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
