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

--- Comment #1 from Ronnie Brunner <[email protected]> ---
For what it's worth: In Websh we allow properly nested tags and for cases where
they're not properly nested, you can escape them with a '\'. By default, Websh
uses braces for embedded scripts, but this can be configured to tags with

   web::config putxmarkup tag

So, this is valid (and working as expected):

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

but invalid would be (not properly nested: 

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

Doesn't make much sense, I know, but to make that a valid statement (though
pretty useless), you'd escape as follows:

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

This could be an option for you to solve that rather than adding <rvt a
alternative ending up needing both rvt> and ?> in the same statement, just as
in this sentence. :-)

-- 
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