-
-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello.
I've been working on a Python implementation of RFC 9535. I'm nearly complete, and so I've started looking at what other people have done. Your project looks impressive. I've already learned a few things, such as the existence of the various compliance testing data suites.
My purpose with my own project was two-fold. I'm really a "java guy" and so wanted to develop a Python project that would force me to really learn Python libraries and idioms. Also, I had been working with JSON exports of wiktionary data and was trying to use json-path for some data analysis, and I was disappointed with the inconsistencies and lack of documentation of the "leading" providers of the json–path query implementation. (Pre-RFC standard).
There are some things I'm unclear about the spec, and although the test suites can give me guidance on what a method is supposed to return in a given context, I'd still like to understand the spec in greater detail. I'm currently failing many of the 'quoting' tests. I know how to unescape string literals that are supposed to be name selectors, and I have regex to check that the quoting of embedded strings is correct. But I am confused about when I'm supposed to do the opposite... re-encode those strings. I had assumed that a json encoding library like the built in json package in Python would take care of encoding strings according to the JSON spec.
I also seem to have a subtle bug in my descendent segment processing. I pass most of the tests but am still failing 2.
So these are examples of questions I have that I would like to ask in some RFC 9535 related forum or discord channel, etc.
If you can point me in the right direction I would appreciate it!
Thanks!