I was hoping someone could help me out with a question regarding the formatting of URI’s in the new DSON format:
As an experiment I saved a pose preset as a .duf file. As expected, there are animation entries for each parameter for each bone. The first one looks like this:
“url” : “name://@selection/lBigToe:?translation/x/value”,
“keys” : [ [ 0, 0 ] ]
The “scheme” portion seems fine (“name://”) However, I don’t see how the rest of the string conforms to the documented specification. Following is the format provided in the specification for URI’s (http://docs.daz3d.com/doku.php/public/dson_spec/format_description/asset_addressing/start)
The syntax is:
URI = scheme “:” hier-part [ “?” query ] [ “#” fragment ]
hier-part = “//” authority path-abempty
The given syntax suggests that in the example I provided, the portion “@selection/lBigToe” would be part of the scheme, which is clearly not correct. The specification document states that the “hier-part” can be an empty string, which seems to be the case in the example, but this still does not account for the “@selection/lBigToe” portion.
Unless I’m reading this wrong, I would have expected the colon after lBigToe to be omitted.
The URI string given can still be parsed, I just don’t understand how it conforms to the specifications outlined in the documentation. Any help or explanation would be greatly appreciated.