David W. Forslund wrote:

>I've been looking at schematron for doing the "equivalent" of archetype in
>a more general situation, particularly since there as been no ADL parser
>available in Java.   Schematron seems to be reasonably popular for
>enforcing rules for XML data structures and there is a variety of software
>available for using it.
>  
>
there are currently two parsers in java, hopefully at least one of those 
will be very soon announced as open source. The reference parser is also 
java-wrapped, and I will upload both source and .jar ASAP. We are not 
quite up to speed with automatic building of these, apologies for the 
inconvenience.

- thomas

>Dave
>On Tue, March 8, 2005 4:28 am, Gavin Brelstaff said:
>  
>
>>Rahil Qamar wrote:
>>
>>    
>>
>>>Hi Alfonso
>>>
>>>I can answer one of your questions for certain and am not very sure
>>>about another one.
>>>
>>>Alfonso Mata wrote:
>>>
>>>      
>>>
>>>>- Is it possible to obtain a XML-Schema based on 13606 from an ADL
>>>>file?
>>>>
>>>>
>>>>        
>>>>
>>>You can obtain an XML representation of the ADL Archetype from the
>>>Archetype Editor but not an XML Schema. Atleast not at the moment.
>>>However Im trying to write out a schema based on the UML Archetype
>>>Object Model. Its not proving to be an easy task is all I can say ! I've
>>>done one version of  the schema but its far from perfect to 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.
>>
>>
>>--
>>Gavin Brelstaff - BioMedical Area, CRS4 in Sardinia
>>Loc. Pixina Manna Edificio 1,
>>C.P. n.25, 09010 Pula (CA) Italy.
>>Email: gjb at crs4.it Phone:+39.070.9250.312 Fax:+39.070.9250.216
>>
>>-
>>If you have any questions about using this list,
>>please send a message to d.lloyd at openehr.org
>>
>>    
>>
>
>
>  
>


-- 
___________________________________________________________________________________
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

Reply via email to