|
next
|
Subject: Default namespace declaration disappears Author: Barry van Oven Date: 03 Jun 2005 09:52 AM
|
Platform: Windows XP
Environment: Sonic ESB 6.1 build 304 and Stylus Studio Integration Edition 6.1 build 276
Problem: default namespace declaration disappears
Hi all.
I am encountering a very odd problem in my current environment. Having taken up this issue with official Sonic ESB support, I got redirected to the Stylus Studio support center.
When I transform a namespaceless source document into a result document with several namespaces where only the root element is located in the default namespace, the default namespace declaration (supposed to be an attribute of the root element) disappears/doesn't get crated in the result document. This only happens with the processor supplied with Stylus Studio Integration Edition 6.1 build 276. Ostensibly, this is the same processor Sonic ESB 6.1 build 304 uses, namely Saxon 6.5.2...
Here comes the odd part: Sonic ESB works fine (i.e. created the default namespace declaration attribute on the result document's root element), Stylus Studio doesn't. I tried a trial version of Stylus Studio Enterprise Edition 6 Release 3 build 377i which uses among others Saxon 6.5.3 and this works fine. Other processors (Xalan, MSXML, System.XML, etc.) also work fine.
The support person at Sonic Software for Sonic ESB was able to completely reproduce my findings using a source document and transformation stylesheet I sent him. I'll include them here.
What I'd really like to know is whether this is a problem caused by the processor, the environment or some higher entity. Perhaps someone else has experienced this before and found a solution. For now I have managed a workaround by creating a dummy prefix for the default namespace. Ideally I'd like a proper solution to this problem, or at least a better understanding as to why this occurs.
test(1).zip missing default namespace declaration
|
|
|