earth2marsh + path 2
Web Application Description Language
february 2012 by earth2marsh
"The URI for a resource element is obtained using the following rules:
Set identifier equal to the URI computed (using this process) for the parent element (resource or resources)
If identifier doesn't end with a '/' then append a '/' character to identifier
Substitute the values of any URI template parameters into the value of the path attribute
Append the value obtained in the previous step to identifier
For each child param element (see section 2.12), in document order, that has a value of 'matrix' for its style attribute, append a representation of the parameter value to identifier according to the following rules:
Non-boolean matrix parameters are represented as: ';' name '=' value
Boolean matrix parameters are represented as: ';' name when value is true and are omitted from identifier when value is false
where name is the value of the param element's name attribute and value is the runtime value of the parameter."
wadl
resource
base
path
url
Set identifier equal to the URI computed (using this process) for the parent element (resource or resources)
If identifier doesn't end with a '/' then append a '/' character to identifier
Substitute the values of any URI template parameters into the value of the path attribute
Append the value obtained in the previous step to identifier
For each child param element (see section 2.12), in document order, that has a value of 'matrix' for its style attribute, append a representation of the parameter value to identifier according to the following rules:
Non-boolean matrix parameters are represented as: ';' name '=' value
Boolean matrix parameters are represented as: ';' name when value is true and are omitted from identifier when value is false
where name is the value of the param element's name attribute and value is the runtime value of the parameter."
february 2012 by earth2marsh
Copy this bookmark: