You are here: xml won't parse.... « PHP Programming Language « IT news, forums, messages
xml won't parse....

Posted by Captain Dondo on 04/17/06 03:40

I'm pretty much an xml newbie....

And I'm stumped.

The following bit of XML barfs with Invalid document end at line 9:

<?xml version="1.0" ?>
<l0>
<zncol>7</zncol>
<speed>8</speed>
<length>2400</length>
<depth>0.5</depth>
<currentField>103</currentField>
<xcol>1</xcol>
</l0>
<l1>
<brgf1>0.000</brgf1>
<brgt1>0.000</brgt1>
<axa1>0</axa1>
<axb1>2</axb1>
<axc1>4</axc1>
<axd1>6</axd1>
</l1>

And I have no idea why....

I've used two completely different parsers and both barf...

This particular one I copied from http://us2.php.net/manual/en/ref.xml.php
Example 1.... So it should be good....

It barfs on my target - an ARM running a self-compiled php4 and my home
box, i386-box running debian php5.... So it's not platform based.

Any ideas?

--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner, PE (_)\(_) ,>/'_ o__
Certified Personal Trainer (_)\(_) ,>/'_ o__
Licensed Professional Engineer (_)\(_) ,>/'_
Who says engineers have to be pencil necked geeks? (_)\(_)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация