#28 slashdot.xml is not proper XML

open-accepted
nobody
None
2
2003-02-05
2002-08-22
No

The root tag for the slashdot.xml feed is as follows:

<backslash
xmlns:backslash="http://slashdot.org/backslash.dtd">

This implies the existence of a backslash: namespace,
which is
not used in the document. What is meant is either this:

<backslash xmlns="http://slashdot.org/backslash.dtd">

which would specify the default namespace as being at
the given
URI, or more likely this:

<!DOCTYPE BackSlash SYSTEM
"http://slashdot.org/backslash.dtd">
<backslash>....</backslash>

which would tell validating XML parsers to check the
document
against the given DTD. Or maybe both :-)

Discussion

  • Jon Anderson

    Jon Anderson - 2002-08-22
    • priority: 5 --> 2
     
  • Rob Malda

    Rob Malda - 2002-08-23
    • assigned_to: nobody --> pudge
    • status: open --> open-accepted
     
  • Chris Nandor

    Chris Nandor - 2002-10-28
    • assigned_to: pudge --> cmdrtaco
     
  • Chris Nandor

    Chris Nandor - 2002-10-28

    Logged In: YES
    user_id=3660

    I've never touched the XML file and don't really know
    anything about it, or who uses it. I'd recommend not using
    it at all, and using slashdot.rss. I'd not be entirely
    opposed to removing this mostly useless file.

    However, if CmdrTaco does want this fixed, I can try to
    figure out what is intended (I am still not sure; CmdrTaco,
    do you know, or do you know who would know?), and I wouldn't
    want to break things for the few existing users of the file.

     
  • Rob Malda

    Rob Malda - 2002-11-20

    Logged In: YES
    user_id=288856

    If someone who knows XML stuff submits a diff, that'd be swell.

     
  • Rob Malda

    Rob Malda - 2002-11-20
    • priority: 2 --> 1
    • assigned_to: cmdrtaco --> nobody
     
  • Jamie McCarthy

    Jamie McCarthy - 2003-02-05
    • labels: 101851 -->
    • priority: 1 --> 2
    • milestone: 101417 -->
     
  • Jamie McCarthy

    Jamie McCarthy - 2003-02-05

    Logged In: YES
    user_id=3889

    Given the unimportance in which we hold it and considering
    the presence of the .rss file, I'm moving this to a feature
    request.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks