what are the most common errors, while writing xml documents ?
Answer Posted / praveen
---> Forgetting that XML Is Case Sensitive
ex: <name>abc</name> and <Name>abc</Name> <NAME>abc</NAME>
both 3 are different
---> Forgetting of End Tags
<name>abc
---> Forgetting the Quotes for the Attribute Value
<name preferred=true>abc</name> --- error
<name preferred-"true">abc</name> --- oh yeah
---> Typing Spaces in the Name of the Element
<my name>
......
</my name> --- :(
<myname>
......
</myname> --- :) :))
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is the difference between wsdl and xsd?
How do I open an rss file?
How do I find my youtube rss feed?
When should I use the default xml namespace instead of prefixes?
Does anyone still use rss?
What is document type definition (dtd)?
If xml is just a subset of sgml, can I use xml files directly with existing sgml tools?
Can we debug xml file?
What is xsl text?
Define is null operator.
How do I create an xml schema?
What is the scope of an xml namespace declaration?
Can we use graphics in XML?
What is parsing and how do I do it in xml?
What is selectnode method will give?