#994: BibFormat: bug when reporting format template errors
--------------------+------------------------
Reporter:  skaplun  |       Owner:
    Type:  defect   |      Status:  new
Priority:  minor    |   Component:  BibFormat
 Version:           |  Resolution:
Keywords:           |
--------------------+------------------------

Comment (by jcaffaro):

 > Note: the check for missing format elements does take into account
 comments, i.e. <!-- <BFE_NOT_EXISTING /> --> will be still reported as an
 error.

 This is wanted. The format element code is still executed, in case an HTML
 comment would need to be dynamically populated, similarly to PHP:
 {{{
 <!-- <?php foo();?> -->
 }}}

 The "proper" way to escape a BibFormat element is:
 {{{
 <!--BFE_NOT_EXISTING /-->
 }}}

-- 
Ticket URL: <http://invenio-software.org/ticket/994#comment:1>
Invenio <http://invenio-software.org>

Reply via email to