jQuery in Action, 3rd edition
The moose likes XML and Related Technologies and the fly likes canonicalizing vs normalizing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "canonicalizing vs normalizing" Watch "canonicalizing vs normalizing" New topic

canonicalizing vs normalizing

william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
What is the difference between canonicalizing and normailizing xml?

Help me!Help you!!!
Junaid Bhatra
Ranch Hand

Joined: Jun 27, 2000
Posts: 213
Normalizing an XML document means removing whitespace characters (spaces, tabs, linefeeds, etc) from the XML document so that you can directly work with the element & attribute values. It's useful when you wish to compare 2 XML documents.
Canonicalizing an XML document is a much stricter process, which involves among other things, replacing character & parsed entity references with their values, and replacing CDATA sections with their character content.
I agree. Here's the link: http://aspose.com/file-tools
subject: canonicalizing vs normalizing
It's not a secret anymore!