[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ohf] If OHF validation the document form?

I puzzuled that If OHF validation the document form before submitting?
This means is :if the docement that submits to the Repository is wrong or not exact XML file, the OHF validates it and repeat the error?


In other words,for this code Document clinicalDocument = new Document("./resources/sample_files/test1/input.xml",DocumentDescriptor.CDA_R2),I change the input.xml to a document that is not a CDA_R2 docment,OHF is able to check the document that is not CDA_R2?

I do this,but it also is successful to submit to the services.

I would like to know OHF able to check document,for example ,using CDA Schema check CDA document etc.