← Back to team overview

oship-dev team mailing list archive

Re: [HKCR] XML validator

 

Hi Tarsis,

I'm going to need a little more information in order to be of much help.

First of all, is HKCR installable/runable under Python 2.6?
As I recall this was the issue that was to be corrected the last time we
talked.

On Sun, 2010-07-18 at 23:07 -0300, Tarsis Azevedo wrote:

> 
> i need to validate a archetype (xml type) when imported to HKCR with
> xsd files!

Okay.  Before importing this file to HKCR did you verify with another
tool that this is a valid XML file using the schemas from openEHR?  If
so which tool.  If not, well you need to do that.

The schemas that I provided to you have a MLHIM namespace not an openEHR
namespace.  Therefore you would need to change the XML file namespace.

> Sergio and I could not make it a valid xml schema. what do you
> suggest?

What XML file?  Which schemas?

What kind of errors do you get and what is the process you are using to
try validation?

> Tim, I still do not understand the purpose of pyxb; D

In the case of HKCR you will use it to crate Python classes from the XML
Schemas so that you can use native Python code to validate XML files.

Please see the PyXB documentation at
http://pyxb.sourceforge.net/index.html 

Regards,
Tim



-- 
***************************************************************
Timothy Cook, MSc
Project Lead - Multi-Level Healthcare Information Modeling
http://www.mlhim.org 

LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook 
Skype ID == timothy.cook
Academic.Edu Profile: http://uff.academia.edu/TimothyCook

You may get my Public GPG key from  popular keyservers or    
from this link http://timothywayne.cook.googlepages.com/home 

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References