Hi all,
I think that there is a bug within xindice version 1.1b4.
 
Here is a document i have in database named "authorization.xml"
<?xml version="1.0">
<xas/>
 
My xupdate document (update.xml) is:
 
<?xml version="1.0" encoding="UTF-8"?>
<xu:modifications version="1.0" xmlns:xu="http://www.xmldb.org/xupdate">
 <xu:append select="/xas">
  <xu:element name="rule">
    <xu:attribute name="object">record[1]</xu:attribute>
   </xu:element>
 </xu:append>
</xu:modifications>
 
Before performing this XUpdate document on authorization.xml, i expected that the result xas element of authorization.xml document will be:
<xas>
    <rule object="record[1]"/>
</xas>
 
but, unfortunatly, i obtain:
<xas>
   <rule object="record[1" 
</xas>
/* please look the object's attribute. Its record[1 and not record[1] */
 
I tested it in command line and programmatically, and i noted the same problem.
 
When i used object's attribute as element, i obtained the correct result like :
<object>record[1]</object>.
 
should anyone know what happened?
I thanks all of you in advance.
regards,
 
Majirus


Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. Téléchargez GRATUITEMENT ici !

Reply via email to