This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Namespace incompatibility b/n XPath 2.0 Data Model and XPath 1.0 (Was Re: XML schema general convert with XSLT (namespaces..))



very interesting point.

>   Another (minor) potential trap is that in XPath 2.0 a
> namespace node has no parent.

still unclear re this behavior,

>
> There are two consequences of this decision:
>
> 1) ../namespace::* will no longer find all namespace nodes in whose scope
is the
> element, whose attribute is the current node.

ouch !

> 2) more generally, this is an example, showing that the promise will not
be
> fulfilled that existing XSLT 1.0 transformations will work in XSLT 2.0 as
in XSLT
> 1.0

i think there is always a bit of tweaking, but your above example is a very
painful example.

i can see implementators putting in a special switch to force namespace
copying to all descendant nodes

yuk, jim fuller


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]