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


Please Help Members By Posting Answers For Below Questions

Is there any dtd file to validate atom feed files?

438


How do I upload a podcast to spotify?

435


What does a namespace-aware application do when it encounters an error?

475


What is the stylesheet structure used with xslt?

509


How do I convert an xml file to powerpoint?

506






What is the usage of xslt element?

507


What is rss service on my phone?

435


How we compare XSLT and XPath?

479


What is SAX?

498


What are the two types of wsdl elements?

436


How do I find rss feeds?

469


Is html xml subset?

435


Do xml namespaces apply to entity names, notation names, or processing instruction targets?

575


What is the icon for rss and atom?

505


How do I create an xsl file?

460