sylvainhalle / CCCVTK

The Canadian Common CV Toolkit
9 stars 3 forks source link

CCV DTD? #6

Open Finalfantasykid opened 9 years ago

Finalfantasykid commented 9 years ago

Do you know if there is any DTD available for the CCV XML? The closest thing I could find is https://ccv-cvc-admin.ca/report/schema/dataset-en.html which isn't actually a DTD but could be used to help create one. If one isn't available, then perhaps we could make one that could at least partially validate the structure of the XML. I am using CCCVTK to import an CCV, and then export it after chaning some of the data. I want to make sure that what I am importing is a valid CCV, and then also verify that what I am exporting is also a valid CCV.

sylvainhalle commented 9 years ago

That's also the only info I could find about the CV's structure. You may also want to look at constants.inc.php for the list of possible values for each field.

Cheers,

Sylvain

On 2015-02-11 21:12, David Turner wrote:

Do you know if there is any DTD available for the CCV XML? The closest thing I could find is https://ccv-cvc-admin.ca/report/schema/dataset-en.html which isn't actually a DTD but could be used to help create one. If one isn't available, then perhaps we could make one that could at least partially validate the structure of the XML. I am using CCCVTK to import an CCV, and then export it after chaning some of the data. I want to make sure that what I am importing is a valid CCV, and then also verify that what I am exporting is also a valid CCV.

— Reply to this email directly or view it on GitHub https://github.com/sylvainhalle/CCCVTK/issues/6.

Sylvain Hallé, Ph.D. Professeur agrégé / Associate professor Département d'informatique et de mathématique Université du Québec à Chicoutimi 555, boul. de l'Université Chicoutimi (Québec) G7H 2B1 CANADA

E-mail: shalle@acm.org Web: http://leduotang.ca/sylvain Tel: +1 418 545 5011 ext. 5280 Fax: +1 418 545 5012