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 14:09:57 -0500
Cc: "public-poiwg@w3.org W3C" <public-poiwg@w3.org>
Message-Id: <B49BB216-3D82-44C9-9E90-8E5B1127909F@gatech.edu>
To: Raj Singh <rsingh@opengeospatial.org>
I attempted to convert the existing XML example in the core draft to the spec.
Doing so brought up some interesting questions from the validator results:
<point> must have a term property.
Points must have exactly 2 coordinates. This posList has 3.
<point> must have a term property.
Invalid URI of 'mainpoint' in <point>'s id property.
<polygon> must have a term property.
Invalid URI of 'StataCenter' in <poi>'s id property.
<label> must have a term property.
<label> must have a term property.
<label> must have a term property.
<label> must have a term property.
<category> must have a term property.
Invalid URI of '#StataCenter' in <relationship>'s targetPOI attribute.
<relationship> must have a term property.
Invalid URI of 'w3c' in <poi>'s id property.
<label> must have a term property.
<label> must have a term property.
1) must label, point and other POITermTypes have a term property?
The data model PNG suggests this but I don't think it makes sense.
2) should the validator recognize srsName 4979 and allow coordinates with 3 points?
3) can we not use a simple character string as the id property?
What exactly does "using fragments" mean here?
Is an XML base be a requirement before a fragment can be used?
4) can targetPOI refer to a fragment (i.e. #StataCenter)?
What is the relationship to XML base for this reference?

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 Saturday, 7 January 2012 19:10:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 7 January 2012 19:10:27 GMT