OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-poc message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Potential errors in latest header DTDs


 
Hi Chris,

The following to the best of my knowledge seem to be errors/omission in the latest header DTD:

  1. The ebXMLHeader.Manifest element correctly allows multiple Manifest.DocumentReference sub-elements. However, the Manifest.DocumentReference can have multiple pairs of DocumentLabel and DocumentId. This seems incorrect:

  2. <!ELEMENT Manifest  (DocumentReference )+>
    <!ELEMENT DocumentReference  (DocumentLabel , DocumentId )+>
                                                                                                            ^^^

    It should be:
    <!ELEMENT Manifest  (DocumentReference )+>
    <!ELEMENT DocumentReference  (DocumentLabel , DocumentId )>
     

  3. Missing attribute Version with default of 1.0 on element Action. I recall you had planned to include it in an email.
Since time is running out and you are traveling, I have attached the original DTD (pkg_0_6.dtd) as well as a modified one (pkg_0_6fn1.dtd) with the above problems fixed. Please give the poc list a go-no-go on whether to used the modified DTD I have attached.

--

Regards,
Farrukh
 
 
 
 

Here is the diff of the changes. Note my DTD authoring tool may have reformatted your original somewhat:

< <!ELEMENT DocumentReference  (DocumentLabel , DocumentId )+>
---
>
> <!ELEMENT DocumentReference  (DocumentLabel , DocumentId )>
>
15c17,18
< <!ATTLIST Action  e-dtype NMTOKEN  #FIXED 'string' >
---
> <!ATTLIST Action  Version CDATA    #FIXED '1.0'
>                   e-dtype NMTOKEN  #FIXED 'string' >
 
 
 
 

     
     
     

pkg_0_6.dtd

pkg_0_6fn1.dtd

begin:vcard 
n:Najmi;Farrukh 
tel;fax:781-442-1610
tel;work:781-442-0703
x-mozilla-html:TRUE
url:www.sun.com
org:Sun Microsystems;Java Software
adr:;;1 Network Drive, MS BUR02-302;Burlington;MA;01803-0902;USA
version:2.1
email;internet:najmi@east.sun.com
fn:Farrukh S. Najmi
end:vcard


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC