: Does anyone know how to correct this? Is it not possible to have multiple
: different top-level tags in the same update xml file? It seems to me like it
: should work, but perhaps there's something inherently bad about this from
: the XMLStreamReader's point of view.

it's inherently bad from the XML spec's point of view -- as in the XML 
spec says you can only have one "top level" tag per "XML document".

incidently: what is your use case for even trying this?  you kow that with 
a uniqueKey declaration you don't need to delete a doc before adding a new 
one withthe same uniqueKey right? ... you cna just add them all.

we may/should allow you to specify multiple <id> or <query> blocks inside 
of a delete, but i don't imagine anyone is plannining on adding syntax to 
support <delete> and <add> ops in the same update command ... they are 
radically different. 


-Hoss

Reply via email to