Skip to content

Commit

Permalink
Recommend trying an online tool for general URI parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Sep 15, 2020
1 parent 6ac6a64 commit ac91be6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RationaleMCP/0037/modelica-uris.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The design originates from the structure of a general URI. Quoting [Wikipedia](
URI = scheme:[//authority]path[?query][#fragment]
```

Users that are unsure about the details of the general URI syntax are recommended to try one of the many freely available online tools for URI parsing, such as: https://www.freeformatter.com/url-parser-query-string-splitter.html

The _path_ part of a Modelica URI is denoted the Modelice URI's _class reference_, and unlike the old Modelica URI format, qualified Modelica class names use the normal URI path segment separator `/` instead of `.`.

The new format takes advantage of the _authority_ being optional. The meaning of a non-empty _authority_ is not defined except for in the deprecated form of a Modelica URI. A tool should be able to interpret Modelica URIs both without _authority_ and with an empty _authority_. When _authority_ is present, any `/` separator following the _authority_ is just the separator between the _authority_ and the class reference, and not part of the class reference.
Expand Down

0 comments on commit ac91be6

Please sign in to comment.