Re: [xsl] Can't use any of the xdt functions! Grrrr

Subject: Re: [xsl] Can't use any of the xdt functions! Grrrr
From: "M. David Peterson" <m.david.x2x2x@xxxxxxxxx>
Date: Fri, 18 Mar 2005 15:59:05 -0700
I doubt anybody would argue that there is frustration in dealing with
the proper usage of namespace:uri, especially as it relates to Working
Drafts as opposed to Recommended specifications given that, as Dr. Kay
mentioned, the namespace and related URI's changed with each new draft
of a working specification.

With this in mind while the ideal would be for the W3C to create a
simple "Latest Namespace and Related URI" (have they and we I just
don't know about it?) page that we can all easily reference (even
better, supply an RSS and ATOM feed that we can subscribe to such that
we can quickly check for updates while keeping a local copy cached for
quick and easy reference) I would imagine that even if they like the
idea it may take a bit to get something up.  So in the mean time I
quickly created a Namespace:reference section on XSLTWiki.com.  You
can access this at:

http://www.xsltwiki.com/index.php/Namespace:reference

At least as it pertains to XSLT this will at least allow the community
to take on this responsibility to keep things up to date and possibly
encourage the W3C to follow-suit on a much larger scale if this proves
to be a commonly used/edited portion of XSLTWiki.  I'm smack dab in
the middle of finalizing the Saxon.NET 1.0 RC1 bits so I just created
a header and will leave it to those who might have a few minutes to
quickly add what information they can.  I would assume that creating a
heading that uses the Working Draft title and publication date should
suffice as a way to distinguish between each draft and related
namespace:uri combinations but I am sure there might be some better
ideas to play with so will leave it to you all to figure that part
out.

Cheers :)

<M:D/>



On Sat, 19 Mar 2005 09:35:57 +1100, Dimitre Novatchev
<dnovatchev@xxxxxxxxx> wrote:
> On Fri, 18 Mar 2005 17:40:40 -0000, Michael Kay <mike@xxxxxxxxxxxx> wrote:
> >
> > > I assume, that "xs:dayTimeDuration" is typo or from an older version
> > > of the spec and now should be "xsd:dayTimeDuration"?
> >
> > It should be xdt:....
> > >
> > > Anyway, I've tried countless variations of the namespace (where do I
> > > get the 'real' xdt namespace used by saxon???
> >
> > W3C change the namespace each time a new working draft comes out, and Saxon
> > follows suit. So it depends which version you're using. For 8.3 it's
> > http://www.w3.org/2005/02/xpath-datatypes
> >
> > The simplest way to get a 100% reliable answer is to look in the source code
> > for net.sf.saxon.om.NamespaceConstant.
> >
> > Or try this query:
> >
> > java net.sf.saxon.Query -t "{<a
> > xmlns:j='java:net.sf.saxon.om.NamespaceConstant'>{j:XDT()}</a>}"
> >
> > Michael Kay
> > http://www.saxonica.com/
> >
> 
> Recently I had to switch back from code running with Saxon 8.3 to Saxon 8.2
> 
> To do so I had to revert to the older xdt namespace. It proved almost
> impossible to find it on the Web!
> 
> I would appeal to the various W3C  WGs to record in a central location
> all namespace URIs used in their "temporary" namespaces such as xdt.
> 
> The admirable tricks recommended by Michael Kay for finding this
> information in the source code of Saxon 8.x clearly show how difficult
> the W3C groups have made it for a programmer to use the reference
> implementations of the drafts.
> 
> Cheers,
> Dimitre Novatchev.
> 
> 


-- 
<M:D/>

:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages Specialist

Current Thread