Sunburned Surveyor wrote:
> YAML looks very clean. A lot cleaner than the corresponding XML. Very
> interesting.
>
> It looks like there is also an open source parser for YAML written in Java:
>
> http://jyaml.sourceforge.net/
>
> What do you think Martin? Is YAML a better option than GML?
>
>   
Well, it all depends what your metrics are - and *that* is a question 
with likely no clear answer!

I think I'm keen on pursuing the Super-Simple GML route.  That has the 
best chance of being readable by other tools, I think.

Jody Garnett made a suggestion about putting the XML Schema for the GML 
Simple Features Profile in-line in the data file.  (This is what JML 
does now, actually).  I have two concerns about this:

- I haven't seen anything that says that inline schema is standard, or 
can be processed by the tools that you might want to read it (such as 
XML authoring tools, or OGR)
- even the GML SFP is waaay complex, with a fair bit of variability 
lurking to confuse parsers. 

However, I think it might be worth prototyping this idea.  It should be 
possible to *totally* constrain the representation of the SFP schema, so 
that parsers didn't really have to understand it, just extract the few 
pieces of relevant information from known spots.

I might try and spec this out & work up an example, and post it on a 
Google docs page for all to see...

Martin


-- 
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to