OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Difference between "normalize" and "canonicalize"?

Costello, Roger L. wrote:
> Consider these two sentences:
> 1. When an XML parser reads in an XML document it normalizes all  
> line breaks to \n.
> 2. A canonicalizer tool will canonicalize empty elements to start- 
> tag, end-tag pairs.
> Both "normalize" and "canonicalize" seem to mean:
>   Put into a standard form.
> Do they in fact mean the same thing? If so, why have two terms? Why  
> not have just one term?

Canonicalisation is stronger than normalisation, it implies that there  
is only one correct form whereas normalisation may result in numerous  
acceptable, more constrained forms.
Chris Burdess

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS