LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-12-2011, 05:46 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,656

Rep: Reputation: 51
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.
Attached Files
File Type: txt mimeTypes.rdf.txt (1.4 KB, 8 views)

Last edited by stf92; 06-12-2011 at 05:50 PM.
 
Old 06-12-2011, 07:05 PM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,620

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Hi,

do you mean that 'BLOCK 1'
Code:
#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
 
Old 06-12-2011, 07:26 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,656

Original Poster
Rep: Reputation: 51
Thanks crts, for having explained the point to me. And thanks for the link. I suppose you would not tell me the origin of your pseudonym, would you?
 
Old 06-12-2011, 07:47 PM   #4
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,620

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by stf92 View Post
Thanks crts, for having explained the point to me. And thanks for the link.
You're welcome.
Quote:
I suppose you would not tell me the origin of your pseudonym, would you?
Well, I can tell you that it has nothing to with Cathode Ray TubeS - as one member suspected . It's rather random.
 
Old 06-12-2011, 08:19 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,656

Original Poster
Rep: Reputation: 51
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP function to check if string is valid xml? j-ray Programming 6 12-19-2009 08:46 AM
fd0 not a valid block device jdtiede Linux - Software 5 04-09-2004 08:25 AM
CDROM: not a valid block device? Linux~Powered Linux - Software 5 01-26-2004 01:50 PM
not a valid block device..... where do I find it? rkhartley Linux - Newbie 6 12-11-2003 11:02 PM
cdrom not a valid block device moon69 Linux - General 2 01-18-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration