← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 676274] Re: commented XML code crashes inherited views

 

*** This bug is a duplicate of bug 675991 ***
    https://bugs.launchpad.net/bugs/675991

according to: 
http://webdesign.about.com/cs/xmlinformation/ht/htcommentxml.htm

Comments cannot occur within tags, e.g. |<tag ></tag>.


|
On 11/17/2010 03:01 PM, Christophe Chauvet - http://www.syleam.fr/ wrote:
> *** This bug is a duplicate of bug 675991 ***
>      https://bugs.launchpad.net/bugs/675991
>
> Hi
>
> I convert your previous bug report to a question, don't create a new one
>
> It seem the libxml doesn't like<  and>  character in XML comment.
>
> Regards,
>
> ** This bug has been marked a duplicate of bug 675991
>     commented XML code crashes inherited views
>   * You can subscribe to bug 675991 by following this link: https://bugs.launchpad.net/openobject-addons/+bug/675991/+subscribe
>
>

-- 
commented XML code crashes inherited views
https://bugs.launchpad.net/bugs/676274
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Confirmed

Bug description:
My code is (headers ommited)
<record id="page_orded_sale" model="ir.ui.view">
<field name="name">page_orded_sale</field>
<field name="model">sale.order</field>
<field name="inherit_id" ref="sale.view_order_form"/>
<field name="type">form</field>
<field name="arch" type="xml">
<data>
<!-- <xpath expr="//page[@string='Sale Order &amp; Purchases']/page[@string='notes']" position="replace"/> -->
<xpath expr="//page[@string='Notes']" position="replace"/>
</data>
</field>
</record> 

And it gives error: Couldn't find tag '<<built-in function Comment>>' in parent view 

When I delete commented code, everything works OK.
Why commented code makes any difference?





References