On Wednesday, April 10, 2002, at 10:49 AM, Volkmann, Mark wrote: > I'm not sure, but I doubt there's an option in Axis to do that.� Shame > on .NET for requiring that!� AFAIK those two snippets of XML above > should be considered identical by parsers. Child elements are supposed > to default to the namespace of their parent.
This is incorrect. Elements without a prefix are only defaulted to the containing scope's namespace if a parent element declares the namespace without a prefix. If a prefix is used, the children must also include the prefix to be considered part of the same namespace. Microsoft's implementation is correct in this case. -- Tom Bradford - http://www.tbradford.org Architect - XQRL (XQuery Engine) - http://www.xqrl.com Apache Xindice (XML Database) - http://xml.apache.org/xindice
