- From: Don Brutzman <brutzman@nps.edu>
- Date: Tue, 10 May 2016 07:49:08 -0700
- To: "Peintner, Daniel (ext)" <daniel.peintner.ext@siemens.com>
- CC: "public-exi@w3.org" <public-exi@w3.org>
On 5/3/2016 8:23 AM, Don Brutzman wrote: > pending from prior discussion: > [...] > still pending from before: > > b. canonicalization of url. perhaps https://tools.ietf.org/html/rfc3986 Specifically: https://tools.ietf.org/html/rfc3986#section-6 6. Normalization and Comparison . . . . . . . . . . . . . . . . . 38 6.1. Equivalence . . . . . . . . . . . . . . . . . . . . . . 38 6.2. Comparison Ladder . . . . . . . . . . . . . . . . . . . 39 6.2.1. Simple String Comparison . . . . . . . . . . . . 39 6.2.2. Syntax-Based Normalization . . . . . . . . . . . 40 6.2.3. Scheme-Based Normalization . . . . . . . . . . . 41 6.2.4. Protocol-Based Normalization . . . . . . . . . . 42 ====================================================================== 6. Normalization and Comparison One of the most common operations on URIs is simple comparison: determining whether two URIs are equivalent without using the URIs to access their respective resource(s). A comparison is performed every time a response cache is accessed, a browser checks its history to color a link, or an XML parser processes tags within a namespace. Extensive normalization prior to comparison of URIs is often used by spiders and indexing engines to prune a search space or to reduce duplication of request actions and response storage. URI comparison is performed for some particular purpose. Protocols or implementations that compare URIs for different purposes will often be subject to differing design trade-offs in regards to how much effort should be spent in reducing aliased identifiers. This section describes various methods that may be used to compare URIs, the trade-offs between them, and the types of applications that might use them. [...] ====================================================================== Since the usage of URIs is application dependent, the precise normalization and comparison scheme chosen for URIs also ought to be application dependent. Thus this RFC reference is likely sufficient for defining EXI canonicalization of url/uri values. all the best, Don -- Don Brutzman Naval Postgraduate School, Code USW/Br brutzman@nps.edu Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149 X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
Received on Tuesday, 10 May 2016 15:09:12 UTC