This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "canonicalizing vs normalizing" Watch "canonicalizing vs normalizing" New topic
Author

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