cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32560] New: - LocaleMatcher does not negotiate propertly
Date Tue, 07 Dec 2004 11:25:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32560>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32560

           Summary: LocaleMatcher does not negotiate propertly
           Product: Cocoon 2
           Version: Current SVN 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: cheche@apache.org


Trying to implement LocaleMatcher for forrest.
given index.xml and index.es.xml and Accept-Language: es,en;q=0.5

When the @negotiate=false works as expected the index.es.xml is displayed. 

But when using @negotiate=true index.xml is displayed, which is wrong. It should
be index.es.xml. 

Added sitemap and files, if you have svn forrest installed it is easier to test:
mkdir /var/tmp/fs; cd /var/tmp/fs; 
forrest seed; 
cd src/documentation; unzip i18ntest.zip

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message