xsl-list
[Top] [All Lists]

Re: [xsl] Why no namespace node KindTest?

2006-08-26 14:04:44
Michael Kay wrote:

(The background on this is that people realized that
namespace nodes were a lot more expensive than they needed
to be because they had separate identity and separate
parents, which makes it impossible for different elements
to share namespace nodes. Since there are no known use
cases for namespace nodes where the identity and parentage
actually matter, use of the namespace axis was deprecated
and replaced by the functions in-scope-prefixes and
namespace-uri-for-prefix. XQuery is written as if
namespace nodes don't exist, even though they are defined
in the data model, because XQuery never exposes them. XSLT
however relies on namespace nodes to support dynamic
namespace construction using xsl:namespace.)

  Interesting.  Just one thought (without think about
backward compatibility): an other solution would be to not
define the parent node for namespace nodes, as well as
define the identity testing being the same as value testing
between two namespace nodes.  That would permit implementors
more freedom in the implementation of namespace nodes.  Is
it right?

  Just to see if I understood well the problem.

  Thanks,

--drkm



















        
 p4.vert.ukl.yahoo.com uncompressed/chunked Sat Aug 26 20:13:39 GMT 2006 
        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
http://fr.answers.yahoo.com 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--