astropy/astropy — pull request #1223 by mdboom (2013-07-02 23:37:01+00:00)
Title: Reading a VOTable with astropy does not get the table structure correct

I am using astropy.io.votable.tree.VOTableFile to create and write a VOTable for a python application. When I create the table it has the structure:

....

....

....

....

....

....

When I write it out to xml (with to_xml) I see this structure. However when I read in the table with astropy.io.votable.parse the structure I get is:

....

....

....

....

....

....

I verify this structure by writing out what I read in. This is obviously not what I intended. Is this a bug in astropy?