Gavin Medley

Results 41 comments of Gavin Medley

Ok. I'll take over this PR branch and start working on tests.

@cgobat In reading through the green book I realized there are some fundamental issues with the way we use StringDataEncoding. I think these issues are mostly separate from the work...

Hi @cgobat, thanks for submitting some of the first PRs for this project! Can you briefly explain why the namespace reading benefit is worth adding a new dependency to the...

Nice. Thank you for writing that up! It sounds reasonable to me and your point about the mapping for the namespace is a good one. On your question about bumping...

There are some tests that need to be updated to use the new xml library though. test_xtcedef.py uses xml.etree.ElementTree and that should be a quick fix I think. I also...

https://github.com/medley56/space_packet_parser/pull/79#discussion_r1778803200

Here is a little example of doing schema validation with lxml. TIL that `author` is not a valid field in the XTCE Header and that `validationStatus` is a required field......

@cgobat That's great! Do you want to own this feature or would you rather someone else use that as a starting point? I would like to add automatic retrieval of...

Yeah, let's avoid another dependency if we don't need it. If we start doing a lot of HTTP requests for some other reason, then let's consider including requests.

And as for fetching XML online, it is technically a security vulnerability since parsing XML with lxml is vulnerable to things like XML bombs if you're using an old version...