Bill Roper (billroper) wrote,
Bill Roper
billroper

XML Hell

I'm currently being bedeviled by some interesting XML to parse. To wit:


<myObject>
<this value=fred>
</this>
<that value=barney>
</that>
</myObject>


Ok, you can parse this, but why would you want to? Shouldn't this be:


<myObject this=fred that=barney>
</myObject>


Or even:


<myObject this=fred that=barney />


It's like they were being paid by the character...
Tags: musings, work, xml
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 6 comments