Stylus Studio XML Editor

Table of contents

Appendices

C.2 Fragment Identifiers

Fragment Identifiers

The following fragment identifier syntax is compliant with the [XPTR].

The URI in a URI-reference for a WSDL component is the {target namespace} property of either the component itself, in the case of interfaces, bindings, and services, or the {target namespace} property of an ancestor component. The URI provided by the {target namespace} property is combined with a fragment identifier, where the fragment identifier is constructed from the {name} property of the component and the {name} properties of its ancestors as a path according to [uri-ref-frag-table]. In that table the first column gives the name of the WSDL component as the [local name] of the element information item that represents that construct in a WSDL document. Columns two and three populate the variables x and y respectively. These variables are then used to construct the fragment in column four.

uri-ref-frag-table1 Rules for determining fragments for WSDL constructs Construct x y Fragment
11interface 11{name} property of interface 11n/a 11interface(x)
11operation 11{name} property of operation 11{name} property of parent interface 11operation(y/x)
11fault 11{name} property of fault 11{name} property of parent interface 11fault(y/x)
11binding 11{name} property of binding 11n/a 11binding(x)
11service 11{name} property of service 11n/a 11service(x)
11endpoint 11{name} property of endpoint 11{name} property of parent service 11endpoint(y/x)

Note that the above rules are defined in terms of component properties rather the XML Infoset representation of the component model.