Re: POI XML validator for testing

Looks like you validator is tripping up on ampersand separated query parameters:
<pois href="http://www.w3.org?a=1&b=2">
</pois>
Gives the following:
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : EntityRef: expecting ';' in /home/rajsingh/public_html/poiwg/poixmlvalidator.php on line 24

Warning: simplexml_load_string() [function.simplexml-load-string]: <pois href="http://www.w3.org?a=1&b=2"> in /home/rajsingh/public_html/poiwg/poixmlvalidator.php on line 24

Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in /home/rajsingh/public_html/poiwg/poixmlvalidator.php on line 24

Fatal error: Call to a member function getName() on a non-object in /home/rajsingh/public_html/poiwg/poixmlvalidator.php on line 338

On Jan 6, 2012, at 12:20 PM, Raj Singh wrote:

> Hi group. I wrote a little XML validation tool for POIs. 
> http://www.rajsingh.org/poiwg/poixmlvalidator.html
> 
> Hope this can encourage more people to experiment with creating POI files!
> 
> -----
> Raj Singh
> rsingh@opengeospatial.org
> +1 (617) 642-9372
> The OGC: Making location count...
> http://www.opengeospatial.org/ogc/organization/staff/rsingh
> 
> 
> 
> 
> 

Alex Hill Ph.D.
www.alexshill.com

Received on Friday, 6 January 2012 17:55:22 UTC