https://issues.apache.org/bugzilla/show_bug.cgi?id=55710

            Bug ID: 55710
           Summary: XML headers strings are not parsed correctly within a
                    Rivet Page
           Product: Rivet
           Version: 2.1.3
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_rivet
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Under a tclsh, if you type this command, you get:

% set res{<?xml version='1.0'
encoding='utf-8'?><rows><page>0</page><total>0</total></rows>}
<?xml version='1.0'
encoding='utf-8'?><rows><page>0</page><total>0</total></rows>

All is fine.

But within a rivet page,

<?
set res {<?xml version='1.0'
encoding='utf-8'?><rows><page>0</page><total>0</total></rows>}
?>

you get:

[Thu Oct 24 17:00:52 2013] [error] RivetErrorScript called!: missing
close-brace\n    while executing\n"namespace eval request {"

So a perfectly correct TCL string set with { } is parsed incorrectly within the
rivet parser.

It is minor but a reference at it should be in the documentation.
We might want to add dual markers <rvt and <? for backward compatibility?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to