Menu

#1 XML Backup: machine_list tag doesn't close

open
nobody
None
5
2007-11-02
2007-11-02
No

When exporting to XML, if there's an error (or no computers), the `machine_list` tag does not get closed.

I cannot confirm if this happens with data.

Discussion

  • AlphaAlien

    AlphaAlien - 2008-02-05

    Logged In: YES
    user_id=1646555
    Originator: NO

    Haven't tried exporting to XML with no pre-existing dataset, will play with it.

     
  • AlphaAlien

    AlphaAlien - 2008-02-05

    Logged In: YES
    user_id=1646555
    Originator: NO

    ps. why isn't notifying me when people post here?

     
  • AlphaAlien

    AlphaAlien - 2008-02-05

    Logged In: YES
    user_id=1646555
    Originator: NO

    With how I'm doing the XML export it is looking for results from SQL to fill the dataset and so is getting stuck half way through writing the line.

    I am working in my down time an XML only version of this but it's still a ways off. I'll see if I can think of an elegant way to get it to export a working structure even if theres no data present.

     
  • AlphaAlien

    AlphaAlien - 2008-02-28

    Logged In: YES
    user_id=1646555
    Originator: NO

    schema sample of xml file for it:

    <?xml version="1.0" standalone="yes"?>
    <machine_list>
    <computers>
    <tags>
    <tag tagid="1" name="Workstations" />
    </tags>
    <machine machineid="1" name="descriptiveName" address="IPorMachineName" port="5900" adgroup="##SecurityGroup" />
    </computers>
    </machine_list>

    btw it doesn't happen with data

     
  • AlphaAlien

    AlphaAlien - 2008-02-28

    Logged In: YES
    user_id=1646555
    Originator: NO

    I should probably remove the tags from the xml as I have tag lookups disabled in it

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.