Edgewall Software

Opened 15 years ago

Closed 14 years ago

#291 closed defect (worksforme)

i18n:msg is leaking into rendered pages w/ genshi trunk

Reported by: thatch Owned by: cmlenz
Priority: major Milestone: 0.6
Component: Internationalization Version: devel
Keywords: Cc:

Description

This is being demonstrated with the Trac functional tests (with lxml validation) on its trunk. Genshi trunk exhibits the symptom, Genshi advanced-i18n doesn't. Is this fix (to strip out i18n-namespaced attributes from rendered output) something that needs to be merged in to Genshi trunk, or is something else going on here?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://genshi.edgewall.org/i18n">
...
    <div id="content" class="timeline">
      <h1>Timeline</h1>
      <form id="prefs" method="get" action="">
       <div i18n:msg="">
        <label>View changes from <input type="text" size="10" name="from" value="02/28/2009" /></label> <br />

Change History (3)

comment:1 Changed 15 years ago by jruigrok

I don't know the internals too well, but it could very well be, yes. But I am guessing we need Chris' opinion on this.

comment:2 Changed 15 years ago by cboos

Suggesting invalid or wontfix: Trac trunk (0.12dev) is not supposed to be used with Genshi trunk, at least not until the source:branches/experimental/advanced-i18n gets merged.

comment:3 Changed 14 years ago by cboos

  • Resolution set to worksforme
  • Status changed from new to closed

advanced-i18n branch has been merged.

Note: See TracTickets for help on using tickets.