Home » Archived » Voicetools » JSP Validation
JSP Validation [message #8662] |
Thu, 29 September 2005 14:43 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: dsb4103.cs.rit.edu
Is VTP supposed to do JSP Validation with VXML in it? Because when I have
JSP's which generate VXML it is coming up with unrecognized tags, I guess
it expects HTML.
Thanks,
Dan
|
|
|
Re: JSP Validation [message #8674 is a reply to message #8662] |
Thu, 13 October 2005 04:47 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
David Williams![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=david_williams%40acm.org) Messages: 722 Registered: July 2009 |
Senior Member |
|
|
On Thu, 29 Sep 2005 10:43:22 -0400, Daniel Block <dsb4103@cs.rit.edu> wr=
ote:
> Is VTP supposed to do JSP Validation with VXML in it? Because when I h=
ave
> JSP's which generate VXML it is coming up with unrecognized tags, I gu=
ess
> it expects HTML.
Not sure which version of WTP you (voice tools project) are using
(and, honestly, not even sure if you're using our JSP Editor/validation,=
but last I checked, was),
But, we have recently, made fixes to correctly recognize "xml" in JSP's,=
and ... we have sort of a "guess" heuristic to look at JSP content types=
that "end with 'xml' " ... so, you might search our bugzilla's and or
try a "pure" WTP install (say, based on M8) as a quick check.
And, if we still don't "recognize" it as XML, please open a bug in WTP.
|
|
|
Re: JSP Validation [message #8711 is a reply to message #8674] |
Mon, 16 January 2006 13:51 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: r.finan.mobilkom.at
Hi!
I've been playing around with trying to get the JSP editor to validate
VoiceXML files. I've added the VXML DTD catalog which comes with the
Voice Tools to the XML catalog, but no dice. (I'm running 1.0.0) Are the
tools supposed to validate JSPs or is that a future plan?
Thanks,
Robert
David Williams wrote:
> On Thu, 29 Sep 2005 10:43:22 -0400, Daniel Block <dsb4103@cs.rit.edu> wrote:
>> Is VTP supposed to do JSP Validation with VXML in it? Because when I have
>> JSP's which generate VXML it is coming up with unrecognized tags, I guess
>> it expects HTML.
> Not sure which version of WTP you (voice tools project) are using
> (and, honestly, not even sure if you're using our JSP Editor/validation,
> but last I checked, was),
> But, we have recently, made fixes to correctly recognize "xml" in JSP's,
> and ... we have sort of a "guess" heuristic to look at JSP content types
> that "end with 'xml' " ... so, you might search our bugzilla's and or
> try a "pure" WTP install (say, based on M8) as a quick check.
> And, if we still don't "recognize" it as XML, please open a bug in WTP.
|
|
|
Re: JSP Validation [message #8724 is a reply to message #8711] |
Thu, 19 January 2006 21:09 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: gcormier99.hotmail.com
I do have the same problem. I've created a file "welcome.jsp". Here the
content of the file:
<?xml version="1.0" encoding ="UTF-8"?>
<!DOCTYPE vxml PUBLIC "-//W3C//DTD VOICEXML 2.1//EN"
"http://www.w3.org/TR/voicexml21/vxml.dtd">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml"
application="app-root.jsp">
<form>
<field name="nextChoice">
<prompt>
<audio src="http://localhost/audio/welcome.wav" />
</prompt>
<grammar mode="dtmf" root="root" version="1.0">
<rule id="root" scope="public">
<one-of>
<item>0</item>
</one-of>
</rule>
</grammar>
</field>
<block>
<submit next="http://localhost/next.do"/>
</block>
</form>
</vxml>
Eclipse is giving me a warning : Unknown tag (vxml).
Any idea? I opened the jsp file with "JSP Editor"
|
|
|
Re: JSP Validation [message #8736 is a reply to message #8724] |
Fri, 20 January 2006 14:34 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: gcormier99.hotmail.com
I have add the content-type and it's now working. When I created the file,
Eclipse content assist is now working, but if I close the file and reopen
it with JSP Editor, it works fine.
Here's the new file:
<%@ page contentType="application/voicexml+xml; charset=UTF-8" %>
<?xml version="1.0" encoding ="UTF-8"?>
<!DOCTYPE vxml PUBLIC "-//W3C//DTD VOICEXML 2.1//EN"
"http://www.w3.org/TR/voicexml21/vxml.dtd">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml"
application="app-root.jsp">
<form>
<field name="nextChoice">
<prompt>
<audio src="http://localhost/audio/welcome.wav" />
</prompt>
<grammar mode="dtmf" root="root" version="1.0">
<rule id="root" scope="public">
<one-of>
<item>0</item>
</one-of>
</rule>
</grammar>
</field>
<block>
<submit next="http://localhost/next.do"/>
</block>
</form>
</vxml>
|
|
| |
Re: JSP Validation [message #572649 is a reply to message #8662] |
Thu, 13 October 2005 04:47 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
David Williams![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=david_williams%40acm.org) Messages: 722 Registered: July 2009 |
Senior Member |
|
|
On Thu, 29 Sep 2005 10:43:22 -0400, Daniel Block <dsb4103@cs.rit.edu> wr=
ote:
> Is VTP supposed to do JSP Validation with VXML in it? Because when I h=
ave
> JSP's which generate VXML it is coming up with unrecognized tags, I gu=
ess
> it expects HTML.
Not sure which version of WTP you (voice tools project) are using
(and, honestly, not even sure if you're using our JSP Editor/validation,=
but last I checked, was),
But, we have recently, made fixes to correctly recognize "xml" in JSP's,=
and ... we have sort of a "guess" heuristic to look at JSP content types=
that "end with 'xml' " ... so, you might search our bugzilla's and or
try a "pure" WTP install (say, based on M8) as a quick check.
And, if we still don't "recognize" it as XML, please open a bug in WTP.
|
|
|
Re: JSP Validation [message #572748 is a reply to message #8674] |
Mon, 16 January 2006 13:51 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: r.finan.mobilkom.at
Hi!
I've been playing around with trying to get the JSP editor to validate
VoiceXML files. I've added the VXML DTD catalog which comes with the
Voice Tools to the XML catalog, but no dice. (I'm running 1.0.0) Are the
tools supposed to validate JSPs or is that a future plan?
Thanks,
Robert
David Williams wrote:
> On Thu, 29 Sep 2005 10:43:22 -0400, Daniel Block <dsb4103@cs.rit.edu> wrote:
>> Is VTP supposed to do JSP Validation with VXML in it? Because when I have
>> JSP's which generate VXML it is coming up with unrecognized tags, I guess
>> it expects HTML.
> Not sure which version of WTP you (voice tools project) are using
> (and, honestly, not even sure if you're using our JSP Editor/validation,
> but last I checked, was),
> But, we have recently, made fixes to correctly recognize "xml" in JSP's,
> and ... we have sort of a "guess" heuristic to look at JSP content types
> that "end with 'xml' " ... so, you might search our bugzilla's and or
> try a "pure" WTP install (say, based on M8) as a quick check.
> And, if we still don't "recognize" it as XML, please open a bug in WTP.
|
|
|
Re: JSP Validation [message #572790 is a reply to message #8711] |
Thu, 19 January 2006 21:09 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: gcormier99.hotmail.com
I do have the same problem. I've created a file "welcome.jsp". Here the
content of the file:
<?xml version="1.0" encoding ="UTF-8"?>
<!DOCTYPE vxml PUBLIC "-//W3C//DTD VOICEXML 2.1//EN"
"http://www.w3.org/TR/voicexml21/vxml.dtd">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml"
application="app-root.jsp">
<form>
<field name="nextChoice">
<prompt>
<audio src="http://localhost/audio/welcome.wav" />
</prompt>
<grammar mode="dtmf" root="root" version="1.0">
<rule id="root" scope="public">
<one-of>
<item>0</item>
</one-of>
</rule>
</grammar>
</field>
<block>
<submit next="http://localhost/next.do"/>
</block>
</form>
</vxml>
Eclipse is giving me a warning : Unknown tag (vxml).
Any idea? I opened the jsp file with "JSP Editor"
|
|
|
Re: JSP Validation [message #572829 is a reply to message #8724] |
Fri, 20 January 2006 14:34 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: gcormier99.hotmail.com
I have add the content-type and it's now working. When I created the file,
Eclipse content assist is now working, but if I close the file and reopen
it with JSP Editor, it works fine.
Here's the new file:
<%@ page contentType="application/voicexml+xml; charset=UTF-8" %>
<?xml version="1.0" encoding ="UTF-8"?>
<!DOCTYPE vxml PUBLIC "-//W3C//DTD VOICEXML 2.1//EN"
"http://www.w3.org/TR/voicexml21/vxml.dtd">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml"
application="app-root.jsp">
<form>
<field name="nextChoice">
<prompt>
<audio src="http://localhost/audio/welcome.wav" />
</prompt>
<grammar mode="dtmf" root="root" version="1.0">
<rule id="root" scope="public">
<one-of>
<item>0</item>
</one-of>
</rule>
</grammar>
</field>
<block>
<submit next="http://localhost/next.do"/>
</block>
</form>
</vxml>
|
|
| |
Goto Forum:
Current Time: Sun Sep 01 02:00:46 GMT 2024
Powered by FUDForum. Page generated in 0.05428 seconds
|