Open mmccool opened 2 years ago
See discussion under https://github.com/w3c/wot-thing-description/issues/300. One key dependency is the expansion of names into the object they reference, but this is not currently possible with "security" in TD 1.1 if we want to keep 1.0 backward compatibility. So it's hard to add this to TD canonicalization. However, we need to sort out versioning to deal with some existing compatibility problems, so...
Options include:
Right now I'm leaning towards 4. Options 1 and 2 are too problematic. We could combine 3 and 4, although this would mean slightly different canonical forms for 1.x and 2.0 TDs and a security hazard (which could be mitigated by consumers) in 1.x TDs.
There are certain things in the current document that depend on TDs, e.g. expansion of named references in security objects, that need to be resolved (e.g. added to TD canonical form).