[xsde-users] No polymorphism without substitutionGroup?
Boris Kolpackov
boris at codesynthesis.com
Mon Jun 24 08:50:34 EDT 2013
Hi Werner,
Werner Haug <werner.haug at agfa.com> writes:
> Now there are still lines like "<g2:Unit...", which should be "<Unit...".
Your two schemas use different target namespaces. If you want elements
from both of them to be unqualified, then they will have to be in the
same namespace.
> When adding
> doc_s.add_prefix("", "XTest.XBase.Domain");
> I get
> Serializer exception: xml error. duplicate prefix
You cannot have two default namespaces in the same XML document. That's
XML 101.
Boris
More information about the xsde-users
mailing list