[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Differing behavior of Xalan and Saxon with namespa

Subject: RE: Differing behavior of Xalan and Saxon with namespaces. Who's right?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 13 Mar 2003 16:32:37 -0500
RE:  Differing behavior of Xalan and Saxon with namespa
[Niko Matsakis]
[I said]
> > Both Xalan and Saxon are correct.  True, the Xalan output 
> declares an
> > extra namespace, but the FitnessCenter element does not 
> belong to that
> > namespace. So the presence of the declaration has no effect on the
> > interpretation of the document.
> 
> 
> Not strictly true.  Depending on how the FitnessCenter element was 
> created (literal result element vs xsl:element vs xsl:copy) the XSLT 
> processor is obliged to copy over different sets of namespace 
> bindings; 

I forgot to say that I assumed that Roger had used a literal result
element in the stylesheet (since he told us nothing about the source
document).  I apologise for not saying that clearly.

In either case, though, the two documents are equivalent since the
FitnessCenter element is in no namespace either way.

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.