@@ -142,13 +142,17 @@ def validate_model_version_1_1(filename, doc, resolve_imports=True, config=None)
142142 """
143143 # ``cellml_1_1_original.xsd`` was obtained from https://www.cellml.org/tools/cellml_1_1_schema
144144 # `cellml_1_1.xsd`` was created by were directly downloading all referenced namspaces from
145- # https://www.cellml.org/tools/cellml_1_1_schema/common,
146- # https://www.cellml.org/tools/cellml_1_1_schema/content,
145+ # https://www.cellml.org/tools/cellml_1_1_schema/common,
146+ # https://www.cellml.org/tools/cellml_1_1_schema/content,
147147 # https://www.cellml.org/tools/cellml_1_1_schema/presentation
148148 # The original ``cellml_1_1.xsd`` was modified to change the http sources to local sources.
149149 # Additionally, the following two lines were removed from the ``cellml_1_1_original.xsd``: 113, 309
150150 # These lines added the following to the definitions of "Component" and "Role": <any namespace="##other" processContents="skip"/>
151151 # This caused lxml to fail to parse the schema due to it being nondeterministic.
152+ # In its place, <any namespace="http://www.w3.org/1999/02/22-rdf-syntax-ns#" processContents="skip" />
153+ # was added to allow using RDF syntax in the schema. The RDF is not validated.
154+ # Finally, in common/common-attribs.xsd the type of the attribute "id" was changed from "ID" to "string".
155+ # This was done to allow using numbers as ids for equations as described in the CellML primer.
152156
153157 schema_filename = pkg_resources .resource_filename ('biosimulators_utils' ,
154158 os .path .join ("model_lang" , "cellml" , "cellml_1_1.xsd" ))
0 commit comments