hi Conal,

I defined a pipeline that matches the URI of the wmls file. But i get the foll error:

Content is not allowed in prolog
Failed to execute pipeline.: file:/data/cocoon-2.1.3/build/webapp/mail/test1.wmls

cause: org.xml.sax.SAXParseException: Content is not allowed in prolog.

location: file:/data/cocoon-2.1.3/build/webapp/mail/test1.wmls

Here are the wml and wmls files.

test1.wml
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml";><wml>
<card id="no1" title="Go to URL">
<do type="options" label="Go">
<go href="test1.wmls#go_url()"/>
</do>
</card>
</wml>

test1.wmls

extern function go_url()
{
Dialogs.alert("hello");
}



-------------------------------------------------
Still single? Click here to find the perfect match.
                                                                                
http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to