Search the web
Sign In
New User? Sign Up
ClearSilver

Group Information

  • Members: 249
  • Category: Open Source
  • Founded: Jul 2, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
build-in escape functions   Message List  
Reply Message #1368 of 1429 |
I am a new user of clearsilver and I am trying some features of it.
when testing the build-in escape functions such as url_escape and html_escape, some error prompted:

 File "csparse.c", line 709, in cs_parse_string()
                                 File "csparse.c", line 1635, in var_parse()
        File "csparse.c", line 1459, in parse_expr()
                                                      File "csparse.c", line 1413, in parse_expr2()
                             ParseError: [lineno:~31] Unknown function url_escape called

And here is my cs string:
<?cs set:form="<form method='post' action='http://localhost:4002/atompub/form/13412' >" ?>
<?cs var:url_escape(form) ?>

Anyone can help?
thanks.


Mon Apr 19, 2010 7:24 am

caox@...
Send Email Send Email

Message #1368 of 1429 |
Expand Messages Author Sort by Date

I am a new user of clearsilver and I am trying some features of it. when testing the build-in escape functions such as url_escape and html_escape, some error...
caox
caox@... Send Email
Apr 19, 2010
7:52 am

That means you haven't included the escape functions in your program. In C, calling cgi_register_strfuncs will add them all. I think the Java and Python ...
Brandon Long
blong42 Online Now Send Email
Apr 19, 2010
7:59 am

got it. thanks a lot. I guess it may be more helpful of the document if this could be included. ÔÚ 2010-4-19£¬ÏÂÎç3:59£¬ Brandon Long дµÀ£º ...
caox
caox@... Send Email
Apr 19, 2010
3:50 pm

Sure, any suggestions on where it should be mentioned? Brandon 2010/4/19 caox <caox@...> ... Sure, any suggestions on where it should be mentioned?...
Brandon Long
blong42 Online Now Send Email
Apr 20, 2010
12:08 am

add the description of cgi_register_strfuncs to references of c api. Besides, some code examples would be helpful for new guys like me when reading the ...
caox
caox@... Send Email
Apr 20, 2010
1:08 am

Added documentation to the cgi.h and updated the API docs to the latest version. Brandon 2010/4/19 caox <caox@...> ... Added documentation to the...
Brandon Long
blong42 Online Now Send Email
Apr 20, 2010
5:06 am
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help