W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2010

Re: Recommended addition to the April 2010 CCXML DTD - ISSUE-671 [cc]

From: RJ Auburn <rj@voxeo.com>
Date: Wed, 15 Sep 2010 22:37:44 -0400
Cc: www-voice <www-voice@w3.org>, W3C Voice Browser Working Group <w3c-voice-wg@w3.org>
Message-Id: <10B06479-F1FF-49FD-A944-1E4A86491D54@voxeo.com>
To: Chris Davis <davisc@iivip.com>
Chris:

We accepted your change. The DTD now defines CCXML as: 

<!ATTLIST ccxml  version  CDATA  #REQUIRED
                  xml:base CDATA #IMPLIED
                  xmlns CDATA #IMPLIED
                  xmlns:conf CDATA #IMPLIED >


the schema (xsd) now reads:

<xsd:element name="ccxml">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:group ref="ecmaScriptElements"/>
      <xsd:element ref="eventprocessor" minOccurs="1" maxOccurs="1"/>
      <xsd:element ref="meta" minOccurs="0" maxOccurs="unbounded"/>
      <xsd:element ref="metadata" minOccurs="0" maxOccurs="unbounded"/>
    </xsd:choice>
    <xsd:attribute name="version" use="required" type="ccxml.version"/>
    <xsd:attribute ref="xml:base"/>
    <xsd:attribute ref="xmlns"/>
    <xsd:attribute ref="xmlns:conf"/>
  </xsd:complexType>
</xsd:element>

Please let us know if there is any concern about this final resolution. 


Best reagards,

	RJ



---
RJ Auburn
CTO, Voxeo Corporation
tel:+1-407-418-1800 
skype:zscgeek 



On Apr 13, 2010, at 9:20 AM, Chris Davis wrote:

> ok. It is of course possible not everyone is doing DTD validation before running a document.
> 
> I did glance over at http://www.w3.org/TR/voicexml21/vxml.dtd 
> and saw some xmlns attributes there as part of the <vxml> tag.
> 
> Regards,
> Chris
> 
> RJ Auburn wrote:
>> Chris:
>> 
>> We are tracking this as ISSUE-671. 
>> 
>> I think xmlns related attributes should not be required in the DTD but let me double check with some folks. I will let you know shortly. 
>> 
>> Best regards,
>> 
>> 	RJ
>> 
>> ---
>> RJ Auburn
>> CTO, Voxeo Corporation
>> Chair, Editor and Chair, CCXML, VBWG, W3C
>> 
>> On Apr 12, 2010, at 3:04 PM, Chris Davis wrote:
>> 
>>   
>> 
>>> Hello www-voice,
>>> 
>>> I'm looking at the CCXML Version 1.0 Candidate Recommendation 1 April 2010 
>>> (
>>> http://www.w3.org/TR/2010/CR-ccxml-20100401/
>>> ).
>>> 
>>> The DTD on the website ( 
>>> http://www.w3.org/TR/2010/CR-ccxml-20100401/ccxml.dtd
>>> ) 
>>> does not list some attributes of the <ccxml> tag that the test cases use.
>>> 
>>> For example when 10_2_2_A.txml specifies attributes xmlns=
>>> "http://www.w3.org/2002/09/ccxml" xmlns:conf="http://www.w3.org/2005/ccxml-conformance"
>>>  for the <ccxml> tag.
>>> 
>>> Because those are not listed as optional attributes in the offical DTD, the document will not
>>> validate.
>>> 
>>> The solution is to add them to the  DTD,  a snippet of mine is:
>>> <!ATTLIST ccxml  version  CDATA  #REQUIRED
>>>                   xml:base CDATA  #IMPLIED
>>>           xmlns CDATA #IMPLIED
>>>           xmlns:conf CDATA #IMPLIED >
>>> 
>>> 
>>> -- 
>>> Chris Davis
>>> Interact Incorporated R&D
>>> 512-502-9969x117
>>> 
>>>     
>>> 
>> 
>> 
>> 
>>   
>> 
> 
> 
> -- 
> Chris Davis
> Interact Incorporated R&D
> 512-502-9969x117
> 
Received on Thursday, 16 September 2010 02:38:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 September 2010 02:38:28 GMT