7
« on: March 08, 2012, 10:40:17 AM »
Several of the included XML files fail validation with XMLReader. For example, the MedievalAle.xml recipe.
Element '{urn:beerxml:yeast:v2}amount', attribute 'volume': [facet 'enumeration'] The value 'mL' is not an element of the set {'ml', 'l', 'tsp', 'tbsp', 'ozfl', 'cup', 'pt', 'qt', 'gal', 'bbl', 'iozfl', 'ipt', 'iqt', 'igal', 'ibbl'}.
These also fail :
grain_ex_01.xml
grain_ex_02.xml
grain_ex_03.xml
hop_record_ex_01.xml
recipe_ex_01.xml
I'm guessing this may be because the XML files are all v2.06 and the schema is v2.07. It was actually kind f fortunate as it was obvious validation was working in my app ;-)
Chris