Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Voicetools » CCXML editor invalidates valid CCXML codes
CCXML editor invalidates valid CCXML codes [message #12512] Fri, 17 March 2006 20:24 Go to next message
Eclipse UserFriend
Originally posted by: yliu.m1global.com

The VTP CCXML editor invalidates CCXML codes which comply to W3C CCXML
stabdards v1.0.
It appears only follow the DTD: http://www.w3c.org/TR/ccxml/ccxml.dtd
which does not encompass the entire stabdard.
For example, the editor invalidates the following code:
...
<ccxma>
<eventhandler>
...
</venthandler>
</ccxml>
...

It displays a syntax hint according to the above mentioned DTD -- in which
"eventhandler" is not even defined.

How the CCXML editor perform syntax check and code completion?
May we add more name spaces -- DTD? in case of W3C CCXML standards, using
xsd files?
Or maybe even ABNF files?

Thanks.
Re: CCXML editor invalidates valid CCXML codes [message #12534 is a reply to message #12512] Fri, 17 March 2006 21:52 Go to previous messageGo to next message
Brent D. Metz is currently offline Brent D. MetzFriend
Messages: 87
Registered: July 2009
Member
You're right, thanks for catching this inconsistency. You are correct that
it uses the DTD on w3c.org as its source of what is the correct tag and
attribute set. I am not sure why they are not up to date but obviously this
is a problem. I will open a bugzilla to track this problem, which you can
add yourself to:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=132404

It is possible to define your own schema or DTD to use by going into
Window->Preferences->Web and XML->XML Catalog and defining a new dtd or
schema entry, then going to Window->Preferences->Voice->Catalog Defaults and
selecting your new schema/dtd as the one to use with new CCXML files.

I'm curious, do you know of a freely available DTD that has the proper tag
set?

"Yuming Liu" <yliu@m1global.com> wrote in message
news:97865aed3e694948cd867bd651feaa5f$1@www.eclipse.org...
> The VTP CCXML editor invalidates CCXML codes which comply to W3C CCXML
> stabdards v1.0.
> It appears only follow the DTD: http://www.w3c.org/TR/ccxml/ccxml.dtd
> which does not encompass the entire stabdard.
> For example, the editor invalidates the following code:
> ..
> <ccxma>
> <eventhandler>
> ... </venthandler>
> </ccxml>
> ..
>
> It displays a syntax hint according to the above mentioned DTD -- in which
> "eventhandler" is not even defined.
>
> How the CCXML editor perform syntax check and code completion?
> May we add more name spaces -- DTD? in case of W3C CCXML standards, using
> xsd files?
> Or maybe even ABNF files?
>
> Thanks.
>
Re: CCXML editor invalidates valid CCXML codes [message #12554 is a reply to message #12534] Fri, 17 March 2006 21:58 Go to previous message
Brent D. Metz is currently offline Brent D. MetzFriend
Messages: 87
Registered: July 2009
Member
I may have to take this back. According to the working draft on w3c.org the
tag you mention was renamed (see Changes in Last Call Working Draft):

"Update references of <eventhandler> to <eventprocessor>. (All)"

The confusion in the spec is that they seemed to have done an incomplete job
replacing the name; there are a lot of </eventhandler> entries remaining and
a lot of uses of the phrase eventhandler in the middle of sentences.

I'm going to close that bug; if anything else is missing we will reopen.

"Brent D. Metz" <bmetz@yahoo.com> wrote in message
news:dvfb33$oqo$1@utils.eclipse.org...
> You're right, thanks for catching this inconsistency. You are correct that
> it uses the DTD on w3c.org as its source of what is the correct tag and
> attribute set. I am not sure why they are not up to date but obviously
> this is a problem. I will open a bugzilla to track this problem, which you
> can add yourself to:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=132404
>
> It is possible to define your own schema or DTD to use by going into
> Window->Preferences->Web and XML->XML Catalog and defining a new dtd or
> schema entry, then going to Window->Preferences->Voice->Catalog Defaults
> and selecting your new schema/dtd as the one to use with new CCXML files.
>
> I'm curious, do you know of a freely available DTD that has the proper tag
> set?
>
> "Yuming Liu" <yliu@m1global.com> wrote in message
> news:97865aed3e694948cd867bd651feaa5f$1@www.eclipse.org...
>> The VTP CCXML editor invalidates CCXML codes which comply to W3C CCXML
>> stabdards v1.0.
>> It appears only follow the DTD: http://www.w3c.org/TR/ccxml/ccxml.dtd
>> which does not encompass the entire stabdard.
>> For example, the editor invalidates the following code:
>> ..
>> <ccxma>
>> <eventhandler>
>> ... </venthandler>
>> </ccxml>
>> ..
>>
>> It displays a syntax hint according to the above mentioned DTD -- in
>> which "eventhandler" is not even defined.
>>
>> How the CCXML editor perform syntax check and code completion?
>> May we add more name spaces -- DTD? in case of W3C CCXML standards, using
>> xsd files?
>> Or maybe even ABNF files?
>>
>> Thanks.
>>
>
>
Re: CCXML editor invalidates valid CCXML codes [message #573922 is a reply to message #12512] Fri, 17 March 2006 21:52 Go to previous message
Brent D. Metz is currently offline Brent D. MetzFriend
Messages: 87
Registered: July 2009
Member
You're right, thanks for catching this inconsistency. You are correct that
it uses the DTD on w3c.org as its source of what is the correct tag and
attribute set. I am not sure why they are not up to date but obviously this
is a problem. I will open a bugzilla to track this problem, which you can
add yourself to:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=132404

It is possible to define your own schema or DTD to use by going into
Window->Preferences->Web and XML->XML Catalog and defining a new dtd or
schema entry, then going to Window->Preferences->Voice->Catalog Defaults and
selecting your new schema/dtd as the one to use with new CCXML files.

I'm curious, do you know of a freely available DTD that has the proper tag
set?

"Yuming Liu" <yliu@m1global.com> wrote in message
news:97865aed3e694948cd867bd651feaa5f$1@www.eclipse.org...
> The VTP CCXML editor invalidates CCXML codes which comply to W3C CCXML
> stabdards v1.0.
> It appears only follow the DTD: http://www.w3c.org/TR/ccxml/ccxml.dtd
> which does not encompass the entire stabdard.
> For example, the editor invalidates the following code:
> ..
> <ccxma>
> <eventhandler>
> ... </venthandler>
> </ccxml>
> ..
>
> It displays a syntax hint according to the above mentioned DTD -- in which
> "eventhandler" is not even defined.
>
> How the CCXML editor perform syntax check and code completion?
> May we add more name spaces -- DTD? in case of W3C CCXML standards, using
> xsd files?
> Or maybe even ABNF files?
>
> Thanks.
>
Re: CCXML editor invalidates valid CCXML codes [message #573945 is a reply to message #12534] Fri, 17 March 2006 21:58 Go to previous message
Brent D. Metz is currently offline Brent D. MetzFriend
Messages: 87
Registered: July 2009
Member
I may have to take this back. According to the working draft on w3c.org the
tag you mention was renamed (see Changes in Last Call Working Draft):

"Update references of <eventhandler> to <eventprocessor>. (All)"

The confusion in the spec is that they seemed to have done an incomplete job
replacing the name; there are a lot of </eventhandler> entries remaining and
a lot of uses of the phrase eventhandler in the middle of sentences.

I'm going to close that bug; if anything else is missing we will reopen.

"Brent D. Metz" <bmetz@yahoo.com> wrote in message
news:dvfb33$oqo$1@utils.eclipse.org...
> You're right, thanks for catching this inconsistency. You are correct that
> it uses the DTD on w3c.org as its source of what is the correct tag and
> attribute set. I am not sure why they are not up to date but obviously
> this is a problem. I will open a bugzilla to track this problem, which you
> can add yourself to:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=132404
>
> It is possible to define your own schema or DTD to use by going into
> Window->Preferences->Web and XML->XML Catalog and defining a new dtd or
> schema entry, then going to Window->Preferences->Voice->Catalog Defaults
> and selecting your new schema/dtd as the one to use with new CCXML files.
>
> I'm curious, do you know of a freely available DTD that has the proper tag
> set?
>
> "Yuming Liu" <yliu@m1global.com> wrote in message
> news:97865aed3e694948cd867bd651feaa5f$1@www.eclipse.org...
>> The VTP CCXML editor invalidates CCXML codes which comply to W3C CCXML
>> stabdards v1.0.
>> It appears only follow the DTD: http://www.w3c.org/TR/ccxml/ccxml.dtd
>> which does not encompass the entire stabdard.
>> For example, the editor invalidates the following code:
>> ..
>> <ccxma>
>> <eventhandler>
>> ... </venthandler>
>> </ccxml>
>> ..
>>
>> It displays a syntax hint according to the above mentioned DTD -- in
>> which "eventhandler" is not even defined.
>>
>> How the CCXML editor perform syntax check and code completion?
>> May we add more name spaces -- DTD? in case of W3C CCXML standards, using
>> xsd files?
>> Or maybe even ABNF files?
>>
>> Thanks.
>>
>
>
Previous Topic:CCXML editor invalidates valid CCXML codes
Next Topic:Stopping an IVoiceXMLBrowser implementation
Goto Forum:
  


Current Time: Fri Dec 19 12:19:22 GMT 2014

Powered by FUDForum. Page generated in 0.05297 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software