W3C home > Mailing lists > Public > public-poiwg@w3.org > January 2012

Re: POI XML validator for testing

From: Alex Hill <ahill@gatech.edu>
Date: Sat, 7 Jan 2012 12:37:53 -0500
Cc: "public-poiwg@w3.org W3C" <public-poiwg@w3.org>
Message-Id: <5EDD499A-33C9-42E1-8C80-3764700D5044@gatech.edu>
To: Raj Singh <rsingh@opengeospatial.org>
Looks like this is already an XML requirement.
http://www.w3.org/TR/REC-xml/#syntax

On Jan 6, 2012, at 3:06 PM, Raj Singh wrote:

> Or use &amp; in your URIs instead of & 
> ---
> Raj
> The OGC: Making location count...
> http://www.opengeospatial.org/ogc/organization/staff/rsingh
> 
> 
> On Jan 6, at 2:38 PM, Raj Singh wrote:
> 
>> Odd. I don't know what's wrong. <pois href="http://www.w3.org?a=1&b=2"> is legal XML, and that's what the program receives, so this will take awhile to debug. Until then, don't use & in testing!
>> 
>> ---
>> Raj
>> The OGC: Making location count...
>> http://www.opengeospatial.org/ogc/organization/staff/rsingh
>> 
>> 
>> On Jan 6, at 12:54 PM, Alex Hill wrote:
>> 
>>> 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
>>> 
>> 
>> 
> 
> 

Alex Hill Ph.D.
www.alexshill.com
Received on Saturday, 7 January 2012 17:38:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 7 January 2012 17:38:23 GMT