Document relaxed canonicalization