no namspace versus default namespace
Status: Pre-Alpha
Brought to you by:
mark_lentczner
Suppose the template has an xmlns="one" on the root
element.
Then replaceContent with "<foo>". Currently tiny
template for java interprets this as having no
namespace and thus writes a xmlns='' on it. Should
replaceContent take a parameter for the namespace?
Should it assume that its contents have the same
default namespace as where they are going in the
template? What does tiny template for C++ do?
A workaround is to replaceContent with "<foo
xmlns='one'>" instead, but that is hardly appealing.