Broken FOAF files on tribe.net

topic posted Wed, August 24, 2005 - 1:54 PM by  robin

Anyone else notice how all the FOAF files on tribe seem to be broken now?

what's up?
posted by:
robin
  • Re: Broken FOAF files on tribe.net

    Wed, August 24, 2005 - 10:11 PM
    a small problem that got missed in QA for our recent site update, should be fixed
    • Re: Broken FOAF files on tribe.net

      Thu, August 25, 2005 - 1:22 AM

      Another problem though.

      Many FOAFs are still broken like this one:

      www.tribe.net/FOAF/f3f648...5ad6e1c8414c

      apparently it doesn't escape the ampersands.
      • Re: Broken FOAF files on tribe.net

        Mon, November 21, 2005 - 12:40 PM


        Can someone please tell me why this is still a problem?

        www.tribe.net/FOAF/0868aa...a72bf1f15029

        www.tribe.net/FOAF/f3f648...5ad6e1c8414c


        kind of breaks the whole network as soon as you hit one of these..

        really annoying
        • Re: Broken FOAF files on tribe.net

          Tue, November 22, 2005 - 12:48 AM
          OK. Who exactly was it that made the & a reserved character in XML? Because I want to beat them round the head with a baseball bat. I feel sure that the CGI standard for URLs came before XML so using the CGI delimiter as a reserved character seems particularly designed to annoy programmers for years to come. And unbelievably stupid!

          As an aside I'd like to give exactly the same treatment to the guy at Microsoft who used the backslash as a directory delimiter. What were you thinking? Forwardslash worked fine in Unix and backslash had been an escape character for a decade before. This happened very early in Microsoft's history so it must have been somebody who was/is high up in the organisation.

          Any road up. unescaped ampersands are the bane of XML. Especially when it's in user generated data. Closely followed by bad high order characters helpfully generated by Microsoft products when you do cut ad paste. I don't want "smart" quotes! Just give me a plain old quote.
          • Re: Broken FOAF files on tribe.net

            Tue, November 22, 2005 - 5:29 PM


            can sombebody who works at tribe.net please escape all special character in the User Interests field in the FOAF generation please?

            please?
            • Re: Broken FOAF files on tribe.net

              Wed, November 23, 2005 - 12:35 PM


              Does anyone who works for tribe.net read this forum?
              • Re: Broken FOAF files on tribe.net

                Wed, November 23, 2005 - 3:37 PM
                Yes indeed. I'm checking this out (not that it's not broken, it is) but rather how we're going to fix it. We have seem to have an XHTML problem with this so a fix might be better done by scrubbing on the way in rather than on the way out.
                • Re: Broken FOAF files on tribe.net

                  Wed, November 23, 2005 - 9:30 PM

                  Ok. I would say BOTH might be a good idea.

                  As I first posted about this problem on August 25th above I thought it might have been fixed already. wow.. that's almost 3 months already.

                  Any idea how long it might be from now?

                  i've been waiting very patiently...

                  :-)
                  • This is the maximum depth. Additional responses will not be threaded.

                    Re: Broken FOAF files on tribe.net

                    Thu, November 24, 2005 - 1:19 AM
                    Be careful not to double encode. The question is what you're going to store. It's a bad idea to store & as & although it is worth converting smart quotes to plain quotes on the way in. It's all a lot easier if you just escape the strings on the way out as part of the FOAF generation code. In the same way as you would generating RSS.

                    Surely it's an XML problem not an XHTML problem? FOAF (like RSS) is XML not XHTML. roughly. grin!

                    Damn this problem annoys me. It's caused unbelievable amounts of noise, programmer heartache and violent arguments over the years and among other things was a major factor that pushed the use of CDATA in RSS and probably pushed the creation of Atom as a format. It's also the number one reason for broken XML.