Edgewall Software

Opened 17 years ago

Closed 17 years ago

#220 closed defect (wontfix)

errors sometimes return the previous Genshi line

Reported by: mats_a@… Owned by: cmlenz
Priority: minor Milestone:
Component: Template processing Version: 0.4.4
Keywords: Cc:

Description

Sometimes the line returned by Genshi as "the offending line" is actually the previous line of code relative to the offending line.

Change History (1)

comment:1 Changed 17 years ago by cmlenz

  • Component changed from General to Template processing
  • Milestone 0.5 deleted
  • Priority changed from major to minor
  • Resolution set to wontfix
  • Status changed from new to closed

This will sometimes happen for expressions in attributes of an element spanning multiple lines. Unfortunately the granularity of location reporting provided by Expat stops at the tag level, so there isn't anything we can do here.

I'm closing this as wontfix (should be “cantfix” ;) ). If you got incorrect line numbers that do not involve elements spanning multiple lines, please reopen and provide an example.

Note: See TracTickets for help on using tickets.