Registered: March 14, 2007 | Reputation: | Posts: 1,029 |
| Posted: | | | | 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 |
|
Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | 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 |
|
Registered: March 14, 2007 | Reputation: | Posts: 1,029 |
| Posted: | | | | 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 |
|
Registered: March 13, 2007 | Posts: 350 |
| Posted: | | | | 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 |
|