You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by bu...@apache.org on 2013/10/25 23:30:17 UTC
[Bug 55710] New: XML headers strings are not parsed correctly within
a Rivet Page
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: rivet-dev@tcl.apache.org
Reporter: normandviking@gmail.com
CC: mxmanghi@apache.org
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: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org