AW: AW: Canonical EXI - CR Review

Hi Don,

I added an appendix section about useful references [1] and added RFC 3986.

We might want to add more useful references.

Thanks,

-- Daniel

[1] https://www.w3.org/XML/EXI/docs/canonical/canonical-exi.html#useful-reference







________________________________
Von: Don Brutzman [brutzman@nps.edu]
Gesendet: Dienstag, 10. Mai 2016 16:49
An: Peintner, Daniel (ext) (CT RDA NEC EMB-DE)
Cc: public-exi@w3.org
Betreff: Re: AW: Canonical EXI - CR Review

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 Thursday, 12 May 2016 15:43:50 UTC