Hi Cedrik,

I'm currently working on https://bugs.tryton.org/roundup/issue70 (xml:
based validation on Namespaces). Well, I took the change to refactor the
schema and remove redundancies (eg. multiple definitions for label,
newline, etc.).

Now I found some points which I'm unsure whether they are correctly
described in the schema:

* For newline the attribute id is optional. Most <newline> tags in the
  .xmls do not have an id attribute, so this matches the implementation.
  But for all other elements, id is required (or not allowed).

* For board, graph and tree, <data> is defined as
       element data { data.attlist, xpath+ }  # at least one xpath
  whereas for form, <data> is defined as
       element data { data.attlist, xpath* }  # could be empty
  Is this meant this way?

* IMHO this <data> element could be removed at all, since it only ever
  contains xpath.

* According tho the current relaxng schema, in this construct::
     <form> ... <graph> <x> <field>
  the <field> could be a field as defined in form.rnc. I wonder whether
  this is correct or this sould only allow fileds as defined in
  graph.rnc?

-- 
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult mit Mitglied bei http://www.7-it.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to