Gavin Brelstaff wrote: >> o generate a sensible XML. If you are interested in doing some work >> on this we could collaborate. > > > There are some less heavy ways of doing XML rule checking that > avoid most of the irrational intricacies of the W3C Schema. > Did you ever explore > Jim Clark's RelaxNG for schema validation of XML structures, > and > Schematron for rules involving Co-occurance relationships. > > That might be a way to go. > > our key requirement is that all schemas based on openEHR models are automatically generated from the source expressions, even if that is not literally true today. We nearly have a tool finished which generates an expression of the models as UML-2.0 tagged XML (but not XMI, which is bloated and qite hard to process); this XML will be published as a live 'built product' of openEHR, and we encourage developers in the community to write the next level of converters which turn it into various concrete expressions including XML-schema. If RelaxNG and Schematron can be generated, al the better; I am aware that both have more power in constraint expression than XML-schema, but leave it to the experts to work out the relative merits for openEHR. As soon as we have published the X-openEHR model tagged UML, you will be able to experiment.
- thomas beale -- ___________________________________________________________________________________ Research Fellow, University College London (http://www.chime.ucl.ac.uk) Chair Architectural Review Board, openEHR (http://www.openEHR.org) CTO Ocean Informatics (http://www.OceanInformatics.biz) - If you have any questions about using this list, please send a message to d.lloyd at openehr.org

