Open zwergziege opened 1 year ago
Well, that could be a solution, but it will probably not make the parsing better. However it could possibly give a quite input what is wrong.. Should try to look into it.
I have looked at it quickly, but have an issue actually including other files in the release (the schema files that is). They exist in the tar.gz but when I install they don't appear in the site-package folder (same for LICENSE), so right now I'm not sure what is wrong and how to solve it..
I have the schemas here and talked to ASAM about it. But in order to use them they have to be included in the package. That's what I have problems with.
Ah, sorry. I misunderstood.
Currently,
oscx.ParseOpenScenario
just raises an exception if the input data is invalid without providing much information to what failed. This could be improved by validating the input first, e.g. using thexmlschema
package and the schema files provided by the OpenScenario standard. This could also be used to easier detect bugs such as #113, #130 and #182. Edit: Maybe it even makes sense to usexsdata
to get native bindings.