logo       

Re: Dynamic context default values: msg#00015

Subject: Re: Dynamic context default values
On Friday 02 February 2007 14:14, Ivan Shcheklein wrote:
> Hi,
>
> I don't sure is this bug or not?
>
> I couldn't find a clear answer in the spec why an implementation (minimal
> conformance) MUST be able to set externally components of the dynamic
> context - default collection, context item ...
>
> For example consider fn-collection-4d in XQTS:
>
> count(fn:collection())
>
> which expects value of default collection component to be returned.

I neither see that implementations must be able to set the collection to 
certain nodes, so the XQTS is a bit over-demanding here, in my opinion.

However, this is actually the first time I've seen an implementor consider 
this a problem.

Personally, in my own implementation, the collection doesn't have a very 
central use but I decided to implement it anyway because it wasn't very much 
work(for these purposes, quite similar to fn:doc()), and that it is to me a 
very good mechanism for hooking into things, as opposed to inventing ones 
own.

You can open a report against the test suite at 
http://www.w3.org/Bugs/Public/enter_bug.cgi if you would like this changed.


Cheers,

                Frans


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
region.costa-ri...    user-groups.lin...    lang.prothon.us...    xfree86.cvs/200...    finance.aqbanki...    ietf.smtp/1993-...    web.turbogears....    jakarta.cactus....    yellowdog.gener...    php.gtk+.genera...    org.region.indo...    hurd.l4/2005-10...    culture.religio...    apple.fink.gene...    db.mysql.window...    bluez.devel/200...    security.pgp-ba...    video.blender.d...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe