亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? draft-ietf-simple-xcap-12-latest.txt

?? 有關IMS SIP及Presence應用的RFC文檔包
?? TXT
?? 第 1 頁 / 共 5 頁
字號:
   document from which a specific step is evaluated.  The document
   context begins at the root node of the document.  When a step
   determines an element within that context, that element becomes the
   new context for evaluation of the next step.  Each step can select an
   element by its name (expanded), by a combination of name and
   attribute value, by name and position, or by name, position and
   attribute.  In all cases, the name can be wildcarded, so that all
   elements get selected.

   The selection operation operates as follows.  Within the current
   document context, the children of that context are enumerated in
   document order.  If the context is the root node of the document, its
   child element is the root element of the document.  If the context is
   an element, its children are all of the children of that element
   (naturally).  Next, those elements whose name is not a match for
   NameorAny are discarded.  An element name is a match if NameorAny is
   the wildcard, or, if its not a wildcard, the element name matches
   NameorAny.  Matching is discussed below.  The result is an ordered
   list of elements.

   The elements in the list are further filtered by the predicates,
   which are the expressions in square brackets following NameorAny.
   Each predicate further prunes the elements from the current ordered
   list.  These predicates are evaluated in order.  If the content of
   the predicate is a position, the position-th element is selected
   (that is, treat "position" as a variable, and take the element whose
   position equals that variable), and all others are discarded.  If
   there are fewer elements in the list than the value of position, the
   result is a no-match.

   If the content of the predicate is an attribute name and value, all
   elements possessing that attribute with that value are selected, and
   all others are discarded.  Note that, although a document can have



Rosenberg                Expires April 16, 2007                [Page 20]

Internet-Draft                    XCAP                      October 2006


   namespace declarations within elements, those elements cannot be
   selected using a namespace declaration as a predicate.  That is, a
   step like "el-name[@xmlns='namespace']" will never match an element,
   even if there is an element in the list that specifies a default
   namespace of "namespace".  In other words, a namespace node is NOT an
   attribute.  If the namespaces in scope for an element are needed,
   they can be selected using the namespace-selector described below.
   If there are no elements with attributes having the given name and
   value, the result is a no-match.

   After the predicates have been applied, the result will be a no-
   match, one element, or multiple elements.  If the result is multiple
   elements, the node selector is invalid.  Each step in a node selector
   MUST produce a single element to form the context for the next step.
   This is more restrictive than general XPath expressions, which allow
   a context to contain multiple nodes.  If the result is a no-match,
   the node selector is invalid.  The node selector is only valid if a
   single element was selected.  This element becomes the context for
   the evaluation of the next step in the node selector expression.

   The last location step is either the previously described element
   selector or a "terminal selector".  If the terminal selector is an
   attribute selector, the server checks to see if there is an attribute
   with the same expanded name in the current element context.  If there
   is not, the result is considered a no-match.  Otherwise, that
   attribute is selected.  If the terminal selector is a namespace
   selector, the result is equal to the set of namespace bindings in
   scope for the element, including the possible default namespace
   declaration.  This specification defines a syntax for representing
   namespace bindings, so they can be returned to the client in an HTTP
   response.

   As a result, once the entire node selector is evaluated against the
   document, the result will either be a no-match, invalid, a single
   element, a single attribute or a set of namespace bindings.

   Matching of element names is performed as follows.  The element being
   compared in the step has its name expanded as described in XML
   namespaces [3].  The element name in the step is also expanded.  This
   expansion requires that any namespace prefix is converted to its
   namespace URI.  Doing that requires a set of bindings from prefixes
   to namespace URIs.  This set of bindings is obtained from the query
   component of the URI (see Section 6.4).  If the prefix of the QName
   of an element is empty, the corresponding URI is then the default
   document namespace URI defined by the application usage, or null if
   not defined.  Comparisons are then performed as described in XML
   namespaces [3].  Note that the namespace prefix expansions described
   here are different than those specified in the XPath 1.0



Rosenberg                Expires April 16, 2007                [Page 21]

Internet-Draft                    XCAP                      October 2006


   specification, but are closer to those currently defined by the XPath
   2.0 specification [24].

   Matching of attribute names proceeds in a similar way.  The attribute
   in the document has its name expanded as described in XML namespaces
   [3].  If the attribute name in the attribute selector has a namespace
   prefix, its name is expanded using the namespace bindings obtained
   from the query component of the URI.  An unprefixed attribute QName
   is in no namespace.

   Comments, text content (including whitespace), and processing
   instructions can be present in a document, but cannot be selected by
   the expressions defined here.  Of course, if such information is
   present in a document, and a user selects an XML element enclosing
   that data, that information would be included in a resulting GET, for
   example.  Furthermore, whitespace is respected by XCAP.  If a client
   PUTs an element or document that contains whitespace, the server
   retains that whitespace, and will return the element or document back
   to the client with exactly the same whitespace.  Similarly, when an
   element is inserted, no additional whitespace is added around the
   inserted element, and the element gets inserted in a very specific
   location relative to any whitespace, comments or processing
   instructions around it.  Section 8.2.3 describes where the insertion
   occurs.

   As an example, consider the following XML document:


   <?xml version="1.0"?>
   <watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo"
                version="0" state="full">
     <watcher-list resource="sip:professor@example.net"
                   package="presence">
       <watcher status="active"
                id="8ajksjda7s"
                duration-subscribed="509"
                event="approved">sip:userA@example.net</watcher>
       <watcher status="pending"
                id="hh8juja87s997-ass7"
                display-name="Mr. Subscriber"
                event="subscribe">sip:userB@example.org</watcher>
     </watcher-list>
   </watcherinfo>

   Figure 3: Example XML Document

   Assuming that the default document namespace for this application
   usage is "urn:ietf:params:xml:ns:watcherinfo", the node selector



Rosenberg                Expires April 16, 2007                [Page 22]

Internet-Draft                    XCAP                      October 2006


   watcherinfo/watcher-list/watcher[@id="8ajksjda7s"] would select the
   following XML element:


   <watcher status="active"
       id="8ajksjda7s"
       duration-subscribed="509"
       event="approved">sip:userA@example.net</watcher>

6.4.  Namespace Bindings for the Selector

   In order to expand the namespace prefixes used in the node selector,
   a set of bindings from those namespace prefixes to namespace URI must
   be used.  Those bindings are contained in the query component of the
   URI.  If no query component is present, it means that only the
   default document namespace (as identified by the application usage)
   is defined.  The query component is formatted as a valid xpointer
   expression [5] after suitable URI encoding as defined in Section 4.1
   of the Xpointer framework.  This xpointer expression SHOULD only
   contain expressions from the xmlns() scheme [4].  A server compliant
   to this specification MUST ignore any xpointer expressions not from
   the xmlns() scheme.  The xmlns() xpointer expressions define the set
   of namespace bindings in use for evaluating the URI.

   Note that xpointer expressions were originally designed for usage
   within fragment identifiers of URIs.  However, within XCAP, they are
   used within query components of URIs.

   The following example shows a more complex matching operation, this
   time including the usage of namespace bindings.  Consider the
   following document:


   <?xml version="1.0"?>
   <foo xmlns="urn:test:default-namespace">
     <ns1:bar xmlns:ns1="urn:test:namespace1-uri"
              xmlns="urn:test:namespace1-uri">
       <baz/>
       <ns2:baz xmlns:ns2="urn:test:namespace2-uri"/>
     </ns1:bar>
     <ns3:hi xmlns:ns3="urn:test:namespace3-uri">
       <there/>
     </ns3:hi>
   </foo>

   Assume that this document has a document URI of
   "http://xcap.example.com/test/users/sip:joe@example.com/index", where
   "test" is the application usage.  This application usage defines a



Rosenberg                Expires April 16, 2007                [Page 23]

Internet-Draft                    XCAP                      October 2006


   default document namespace of "urn:test:default-namespace".  The XCAP
   URI:


   http://xcap.example.com/test/users/sip:joe@example.com/index/
   ~~/foo/a:bar/b:baz?xmlns(a=urn:test:namespace1-uri)
   xmlns(b=urn:test:namespace1-uri)

   will select the first <baz> child element of the <bar> element in the
   document.  The XCAP URI:


   http://xcap.example.com/test/users/sip:joe@example.com/index/
   ~~/foo/a:bar/b:baz?xmlns(a=urn:test:namespace1-uri)
   xmlns(b=urn:test:namespace2-uri)

   will select the second <baz> child element of the <bar> element in
   the document.  The following XCAP URI will also select the second
   element in the document:


   http://xcap.example.com/test/users/sip:joe@example.com/index/
   ~~/d:foo/a:bar/b:baz?xmlns(a=urn:test:namespace1-uri)
   xmlns(b=urn:test:namespace2-uri)
   xmlns(d=urn:test:default-namespace)


7.  Client Operations

   An XCAP client is an HTTP/1.1 compliant client.  Specific data
   manipulation tasks are accomplished by invoking the right set of HTTP
   methods with the right set of headers on the server.  This section
   describes those in detail.

   In all cases where the client modifies a document, by deleting or
   inserting a document, element or attribute resource, the client
   SHOULD verify that, if the operation were to succeed, the resulting
   document would meet the data constraints defined by the application
   usage, including schema validation.  For example, if the client
   performs a PUT operation to "http://xcap.example.com/rls-services/
   users/sip:joe@example.com/mybuddies", rls-services is the application
   unique ID, and the constraints defined by it SHOULD be followed.

   The client will know what URI to use based on the naming conventions
   described by the application usage.

   If the document, after modification, does not meet the data
   constraints, the server will reject it with a 409.  The 409 response



Rosenberg                Expires April 16, 2007                [Page 24]

Internet-Draft                    XCAP                      October 2006


   may contain an XML body, formatted according to the schema in
   Section 11.2, which provides further informati

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本色道综合亚洲| 在线一区二区三区| 欧美成人r级一区二区三区| 亚洲一区二区在线免费看| 91视频免费播放| 亚洲色图清纯唯美| 一本到高清视频免费精品| 亚洲欧洲日韩av| 91日韩在线专区| 亚洲欧美日韩人成在线播放| 91丨porny丨中文| 亚洲另类在线制服丝袜| 色综合久久综合中文综合网| 亚洲综合av网| 91精品中文字幕一区二区三区| 青青草国产成人av片免费| 日韩三级电影网址| 国产精品影音先锋| 亚洲日本青草视频在线怡红院| 色爱区综合激月婷婷| 亚洲高清三级视频| 日韩限制级电影在线观看| 激情六月婷婷久久| 中文一区二区在线观看| 91网站在线播放| 香蕉久久一区二区不卡无毒影院 | 亚洲国产成人91porn| 91国在线观看| 日韩电影在线看| 欧美裸体一区二区三区| 极品美女销魂一区二区三区 | 亚洲精品免费视频| 在线成人免费观看| 国产成人午夜片在线观看高清观看| 中文字幕va一区二区三区| 在线观看日韩国产| 性感美女久久精品| 日本一区二区高清| 欧美日韩五月天| 国产在线播放一区| 亚洲最大的成人av| 欧美mv和日韩mv国产网站| 一本一道久久a久久精品| 日本成人在线一区| 中文字幕欧美一| 欧美一级日韩一级| 成人av免费网站| 日韩av中文在线观看| 中文字幕亚洲不卡| 制服丝袜一区二区三区| 成人小视频免费在线观看| 天堂久久久久va久久久久| 久久久.com| 91原创在线视频| 精品在线一区二区| 国产精品免费久久久久| 69久久夜色精品国产69蝌蚪网| 国产98色在线|日韩| 日本人妖一区二区| 国产精品传媒在线| 精品日韩一区二区三区| 欧美专区亚洲专区| a4yy欧美一区二区三区| 国产制服丝袜一区| 亚洲国产综合91精品麻豆| 国产精品护士白丝一区av| 久久一留热品黄| 56国语精品自产拍在线观看| 色婷婷国产精品综合在线观看| 国产成人免费网站| 蓝色福利精品导航| 无码av免费一区二区三区试看| 国产精品激情偷乱一区二区∴| 欧美精品成人一区二区三区四区| www.久久精品| jlzzjlzz欧美大全| 成人国产视频在线观看| 国产老妇另类xxxxx| 奇米影视在线99精品| 亚洲大片在线观看| 亚洲一区在线电影| 中文字幕一区二区三区精华液| 精品国产凹凸成av人网站| 在线综合视频播放| 欧美伦理影视网| 6080日韩午夜伦伦午夜伦| 欧美日韩精品二区第二页| 欧美在线999| 91国产视频在线观看| 色哟哟日韩精品| 色国产综合视频| 欧美亚洲综合一区| 在线观看日韩国产| 欧美日韩国产大片| 欧美美女bb生活片| 91麻豆精品国产| 日韩三级免费观看| 2023国产精品| 国产欧美日韩麻豆91| 亚洲国产精品黑人久久久| 成人欧美一区二区三区小说| 最新国产の精品合集bt伙计| 亚洲精品欧美激情| 午夜视频在线观看一区二区三区| 亚洲成人手机在线| 蜜臀av一级做a爰片久久| 亚洲午夜久久久久久久久久久| 亚洲妇熟xx妇色黄| 免费成人在线网站| 国产久卡久卡久卡久卡视频精品| 国产91丝袜在线播放| 91在线码无精品| 欧美精品久久天天躁| 欧美精品一区二| 久久久久久久久久久黄色| 亚洲欧洲一区二区在线播放| 亚洲影院理伦片| 免费观看在线综合色| 国产宾馆实践打屁股91| 99视频有精品| 欧美日韩高清在线| 国产欧美视频在线观看| 亚洲黄色免费网站| 亚洲成av人片在线观看无码| 国内精品久久久久影院薰衣草| www.在线成人| 日韩精品一区二区三区四区视频 | 欧美中文字幕一二三区视频| 欧美日韩精品一区二区三区蜜桃 | 成人免费视频一区| 欧美三级在线播放| 久久精品欧美日韩| 亚洲一区二区三区四区在线免费观看| 亚洲成人激情自拍| 国产.欧美.日韩| 欧美主播一区二区三区| 精品国产乱码久久久久久久 | 精品福利一区二区三区免费视频| 中文av一区特黄| 青青草原综合久久大伊人精品优势| 国产精品亚洲综合一区在线观看| eeuss鲁片一区二区三区在线观看| 欧美日韩免费视频| 中文字幕在线免费不卡| 日韩影视精彩在线| 99麻豆久久久国产精品免费优播| 欧美理论片在线| 国产精品乱码妇女bbbb| 久久aⅴ国产欧美74aaa| gogo大胆日本视频一区| 精品三级在线看| 天堂影院一区二区| 色94色欧美sute亚洲线路一ni| 2024国产精品| 日韩精品一级二级| 欧美专区亚洲专区| 亚洲大片在线观看| 国产精品一品视频| 欧美一区二区三区日韩| 一区二区三区在线视频观看| 成人丝袜视频网| 成人午夜视频福利| 国产精品国产a| 国产精品综合在线视频| 日韩午夜激情电影| 国产精品久久毛片| 91小视频在线| 亚洲色图19p| 成人高清免费在线播放| 欧美狂野另类xxxxoooo| 亚洲免费看黄网站| 日韩一区二区三区在线| 国产资源在线一区| 国产精品美女久久久久久久久 | 免费成人在线网站| 91精品国产欧美一区二区18| 午夜精品国产更新| 日韩欧美一卡二卡| 丁香亚洲综合激情啪啪综合| 自拍偷拍国产亚洲| 丁香网亚洲国际| 亚洲国产成人自拍| 欧美日韩亚洲综合在线 | 日韩欧美视频一区| 男人的天堂亚洲一区| 亚洲欧美日韩国产综合在线| 日韩一区二区三区高清免费看看| 99免费精品在线| 91精品福利在线| 99久久久国产精品免费蜜臀| 精品无人区卡一卡二卡三乱码免费卡| 美女视频网站久久| 蜜桃视频一区二区三区在线观看 | 美日韩黄色大片| 91麻豆精品国产91久久久使用方法 | 日韩av电影一区| 日韩三级av在线播放| 99精品偷自拍| 亚洲国产一区二区视频| 678五月天丁香亚洲综合网|