logo       


RE: submit replace="instance" : replace entire document, or just selected n: msg#00008

Subject: RE: submit replace="instance" : replace entire document, or just selected node ?
Thanks Joern : regarding 1.1, what are the plans for supporting 1.1
features? Do you intend to wait for the recommendation status before
implementing any of these, or might you consider introducing or
accepting patches for some of the more useful/simple ones now (eg the
new serialize event would be useful for me) ?

> -----Original Message-----
> From: Joern Turner [mailto:joern.turner-S0/GAf8tV78@xxxxxxxxxxxxxxxx] 
> Sent: Tuesday, 8 March 2005 9:31 a.m.
> To: Adrian Baker
> Cc: chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> Subject: Re: [Chiba-developer] submit replace="instance" : 
> replace entire document, or just selected node ?
> 
> 
> Adrian Baker wrote:
> > Glancing at the code in Submission.java, it seems that the 
> > replace="instance" will always replace an entire instance 
> document...
> > 
> >  
> > 
> this.model.getInstance(getInstanceId()).setInstanceDocument(responseIn
> > st
> > ance);
> > 
> > Not that it's a problem for me, but on my first reading of 
> the spec I 
> > thought it should only replace the node set selected for submission 
> > (or can you not select any such thing?).
> > 
> > Eg
> > 
> > <submission id="getErrors" replace="instance" 
> > ref="instance('notifications')/errors" ... >
> > 
> > Wouldn't this submit the errors node, but replace the 
> entire instance 
> > document with the result ?
> yes, this is an issue - we've to review that. think we'll 
> address this 
> when adapting to 1.1's new submission attributes which also 
> allow to put 
> the replaced instance in another location than the original.
> 
> Joern
> > 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
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