[SOLVED] Is this a valid xml file? Seems a block is not properly terminated.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is this a valid xml file? Seems a block is not properly terminated.
Kernel 2.6.21.5, slackware 12.0.
Hi:
Would you have a look at the attached file? I have inserted blank lines to separate it into blocks (call them entries if you like) according to my criterium. The "commentaries" are mine. Do not be afraid. They only indicate the beginning of each block and point out the position of the error I think there is in this file.
If you think the this post to be rather theoretical, I depend on the syntactic correction of the text in the file to be able to run certain appl at a mouse click. Any hint will be welcome.
#BLOCK 1
<RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
NC:prettyName="kpdf"
NC:path="/usr/bin/kpdf" />
#Where is the </RDF:Description> line closing this block?
is missing an end-tag? Because it is not. 'BLOCK 1' is a so called empty-element tag. Notice the bold, red part.
Read more about the XML format: http://en.wikipedia.org/wiki/XML
At the present time young people would never make a question like that, as they've probably never seen one of those old artifacts. Yeah, the word CRT brings echoes of a past era, that of the pioneers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.