This is an automated notification sent by LCG Savannah.
It relates to:
bugs #45689, project CDS Invenio
==============================================================================
OVERVIEW of bugs #45689:
==============================================================================
URL:
<http://savannah.cern.ch/bugs/?45689>
Summary: tagclose in bibrecord.py does not handle singletons
correctly
Project: CDS Invenio
Submitted by: mmarino12
Submitted on: 2009-01-07 19:04
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
The tagclose function does not handle xml singletons correctly (e.g.
<tagname/>) and causes an incorrect error on well-formed xml. The problem
can be fixed with the small change to the tagclose function:
pat_open = '<' + tagname + '.*?>'
should be changed to
pat_open = '<' + tagname + '[^/]*?>'
This disallows matching against singletons.
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
2800 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/bugs/?45689>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/