Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What does it meant to say “the canonical” form of XML ?

Answer Posted / ajay vikram

"The purpose of Canonical XML is to define a standard format for an XML document. Canonical XML is a very strict XML syntax, which lets documents in canonical XML be compared directly.
Using this strict syntax makes it easier to see whether two XML documents are the same. For example, a section of text in one document might read Black & White, whereas the same section of text might read Black & White in another document, and even in another. If you compare those three documents byte by byte, they'll be different. But if you write them all in canonical XML, which specifies every aspect of the syntax you can use, these three documents would all have the same version of this text (which would be Black & White) and could be compared without problem.
This Comparison is especially critical when xml documents are digitally signed. The digital signal may be interpreted in different way and the document may be rejected.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need structs in c#?

799


Explain the difference between “constant” and “read-only” variables used in c#?

969


Is c# difficult to learn?

815


Can scriptable objects have methods?

838


What are the Types of configuration files and their differences

1013


What is dynamic dispatch?

918


What is the default boolean value in c#?

897


How do you prevent a class from being inherited?

865


Can we have multiple constructors in a class c#?

859


Can you create an instance of a static class?

951


What is xml c#?

825


how background thread access to ui control?

981


List out two different types of errors in c#?

882


What are the advantages of properties in c#?

906


What's the difference between the debug class and trace class? Documentation looks the same.

1005