Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1 2  Previous   Next
XML Export file problem
Author Message
DVD Profiler Unlimited Registrantgoodguy
Sita Sings the Blues
Registered: March 14, 2007
Reputation: Superior Rating
Germany Posts: 1,029
Posted:
PM this userDirect link to this postReply with quote
I assume, you had configured your parser that way, because empty tags in in DVDPro 2.x where not really empty, they contained a line break. In the XML generated by DVDPro3 this is no longer the case. Also, fields are no longer optional, they are always exported.

DVDPro 2.x:
<Tag>
</Tag>

DVDPro 3:
<Tag/> or <Tag></Tag>
Matthias
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting goodguy:
Quote:
I assume, you had configured your parser that way, because empty tags in in DVDPro 2.x where not really empty, they contained a line break. In the XML generated by DVDPro3 this is no longer the case. Also, fields are no longer optional, they are always exported.

DVDPro 2.x:
<Tag>
</Tag>

DVDPro 3:
<Tag/> or <Tag></Tag>

Yes, indeed that was the reason ... and knowing the fields will always be there lets me "clean up" the code a lot (by which I mean be lazier about validation )
-fred
DVD Profiler Unlimited Registrantgoodguy
Sita Sings the Blues
Registered: March 14, 2007
Reputation: Superior Rating
Germany Posts: 1,029
Posted:
PM this userDirect link to this postReply with quote
Quoting FredLooks:
Quote:
... and knowing the fields will always be there lets me "clean up" the code a lot (by which I mean be lazier about validation )

Ah, the Ken Cole school of programming.
Matthias
DVD Profiler Unlimited RegistrantFredLooks
phpDVDProfilerDude D5/7/2
Registered: March 13, 2007
Canada Posts: 350
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting goodguy:
Quote:
Quoting FredLooks:
Quote:
... and knowing the fields will always be there lets me "clean up" the code a lot (by which I mean be lazier about validation )

Ah, the Ken Cole school of programming.

Oooo ... Zing.
Actually, there's quite a bit of validation in phpdvdprofiler, but the previous position was to "fix" bad/missing data and the majority opinion from users now is to let it all hang out so that they can find problems in their local dbs. This is as good a time as any for me to leave the checking but remove the "fixing" ...
-fred
    Invelos Forums->DVD Profiler: Desktop Technical Support Page: 1 2  Previous   Next