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
What is an abstract class c#?
What are the types of assembly available
What are the Uses of CLR
Which is the base class in c#?
What are the different types of literals in c#?
What is sqlcommand in c#?
What is native image generator (ngen.exe)?
What is disconnected data architecture in c#?
Is c# slower than java?
What is parameter c#?
Name some properties of thread class.
Write a program in c# to find the angle between the hours and minutes in a clock?
Is datetime value type c#?
What is an argument in c#?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge