Subject: Re: [xsl] namespace prefix weirdness From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> Date: 18 Aug 2004 15:17:42 +0100 |
>>>>> "Michael" == Michael Kay <mhk@xxxxxxxxx> writes: Michael> I think that what's happening here is that when Saxon Michael> copies an element (xsl:copy-of applied to the mods Michael> element in this case), it first copies all the namespace Michael> nodes from the source element, then performs namespace Michael> fixup to decide what prefix to allocate to the element Michael> name (and to any attribute names). While copying the Michael> namespace nodes, it has decided to generate an xmlns="" Michael> undeclaration, because the source element does not have Michael> the namespace xmlns="http://www.loc.gov/mods/v3" in scope Michael> and it therefore needs to be undeclared. The spec says that undeclare-namespaces should default to "no", and is only relevant for method="xml" and version="1.1". I couldn't see any xsl:output statemtent in the code, so isn't this a bug? -- Colin Paul Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Calling templates based o, Michael Kay | Thread | RE: [xsl] namespace prefix weirdnes, Michael Kay |
RE: [xsl] Calling templates based o, Ben Gazzard | Date | Re: [xsl] Calling templates based o, David Carlisle |
Month |