Forums: Define.xml
Hi Dave,
Now we are re-designing the whole process of define.xml validation. More accurate and robust validation will be available in new versions.
Kind Regards,
Sergiy
Sergiy--
Thanks! For the time being, I found a fix that works. It's easy enough to go into config/schematron and update the appropriate lines in define-2.0.xsl and define-2.0.sch to add the additional permitted values. Once I did that, I was able to run my report without errors.
I'm validating a Define 2.0 file and I'm getting an unexpected error. In the Define-XML v2.0.0 specification, section 4.2.1, the list of data types includes a number of new values for partial date and datetime values and duration, specifically partialDate, partialTime, partialDatetime, incompleteDatetime, and durationDatetime. However, test OD0075 seems to still be validating against the shorter list from Define 1.0: "The DataType attribute for ItemDef element must have a value of 'integer', 'float', 'date', 'datetime', 'time', or 'text'."
Should that test have been updated to permit the additional data type values? Or is there something I'm missing?