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

RE: XML Transformation

  • From: "Michael Kay" <mike@s...>
  • To: "'Anishek Agarwal'" <anishek@g...>,<xml-dev@l...>
  • Date: Thu, 7 Aug 2008 13:20:52 +0100

RE:  XML Transformation
You haven't shown us any details of how the XML is being processed, so we can't tell you why the namespaces have ended up the way they are. You haven't even told us if XSLT is being used.
 
Michael Kay
http://www.saxonica.com/


From: Anishek Agarwal [mailto:anishek@g...]
Sent: 07 August 2008 13:03
To: xml-dev@l...
Subject: Re: XML Transformation

I still did not get the reply for this. Can someone please comment.

Anishek

On Wed, Aug 6, 2008 at 2:50 PM, Anishek Agarwal <anishek@g...> wrote:
According to the xml specification though http://www.w3.org/TR/REC-xml-names/#scoping-defaulting the inner scope definition overrides the parent one if the NSAttName is the same. In our case of the xml above it is the same as its the default namespace. So i dont see why the inner scope namespace declaration element be removed and use the parent namespace.


Anishek


On Wed, Aug 6, 2008 at 2:30 PM, Andrew Welch <andrew.j.welch@g...> wrote:
> For better or worse, the digital signature mechanisms follow XML
> Canonicalization by deciding that namespace prefixes are significant: see
>
> http://www.w3.org/TR/xml-c14n#NoNSPrefixRewriting
>
> for discussion.

!  That's good to know...

I guess it all comes down the fact that the prefix isn't expanded to
the URI.... which is the root cause of the problem of XPath requiring
the prefixes to be mapped elsewhere.

I guess there is an argument for dropping the URI altogether, and just
using the prefix.  Some things would get harder, but many more would
get a lot easier.


--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.