[phpXML] Re:[phpXML] Undefined Index Line 443 when opening
Brought to you by:
bs_php,
nigelswinson
From: <mf...@mr...> - 2001-10-05 10:15:59
|
> PhpXML put allways this warnings, depending on the reporting level. I will be prepared for different providers and/or removal to new provider, that's the reason why I care about a possibly stronger reporting level. > And whats about: > <persons> > <person> > <name>Marko Fix</name> > <age>33</age> > <street/> <<<<<--- ? This is a fine solution, but here too I will prepare my code for data that wasn't built with such empty <street/>. Greetings, M.F. > </person> > <person> > <name>Humble Pie</name> > <age>23</age> > <street>Grieksstraat</street> > </person> > </persons> > > > > > Von: mf...@mr... > > Antworten an: us...@li... > > Datum: 29 Jun 2001 12:38:07 -0000 > > An: us...@li... > > Betreff: [phpXML] Re: [phpXML] Undefined Index Line 443 when opening Xml file. > > => Here are 1 new lines > > > > > > > Hoi Nigel and all, > > > > I found out, that I got a further "undefined Index"-Warning at the end of > > function get_content. > > > > This is because I have the following simple data structure: > > > > <persons> > > <person> > > <name>Marko Fix</name> > > <age>33</age> > > </person> > > <person> > > <name>Humble Pie</name> > > <age>23</age> > > <street>Grieksstraat</street> > > </person> > > </persons> > > > > When I tried to present this data in a table I have Marko Fix without a street > > and this causes the Warning. > > So I added a new Initialization to "" if not set at the end of get_content. > > This new concurrent version is enhanced here again. > > > > Again, all my inserted lines are commented with the line > > // Initialize, if empty. Added by M.F.: > > > > > > M.F. > > > > > > ----- Original Message ----- > >> From: Nigel Swinson <mailto:Ni...@Sw...> > >> To: mf...@mr... > >> Sent: Friday, June 29, 2001 1:33 PM > >> Subject: Re: [phpXML] Re: [phpXML] Undefined Index Line 443 when opening Xml > >> file. => Here are the lines > >> > >>> Yes of course I can send you this, it's attached. > >>> > >>> There are 5 lines added by me commented with the commentline: > >>> // Initialize, if empty. Added by M.F.: > >> Thanks very much :o) > >>> But now I am very frightened of concurrent versions. > >> Understandably! > >>> Don't forget to tell, if you find further uninitialized array values. > >> It's the least I can do! > >> > >> Ah it's nice working with people in the same time zone! > >> > >> Bloomin' Americans.... > >> > >> Nigel > >> > >> > >> > > > > -- > This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ > -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |