[LSC] An XML version of the specs

Travis Cobbs tcobbs at gmail.com
Thu May 15 18:47:20 EDT 2008


On Thu, May 15, 2008 at 3:22 PM, Michael Heidemann <mikeheide at web.de> wrote:


> I never got an answer to this question.

>

> Can anybody answer?

>


This came from William Howard. I believe he meant an XML-based official
LDraw file format grammar.

Here's what he said:

----------------------------
My ideas
1) Reference parser for LDraw 1.0 spec files
- should operate in two modes, lax and strict, strict would enforce all
"it is recommended" statements in the spec
- should also be capable of parsing parts, with their additional
requirements
- the code would be in a common OO language (Java or C++) and written from
the point-of-view of legibility and clarity of function and not performance.
- the code would be GPL'ed (or even copyright free)

2) An XML version of the spec (complete with XSD)
- the reference parser could be extended to create the DOM
- XSL-T to convert the DOM back to LDraw file spec format

The XML version of the spec would then serve as the file format for
exchanging files from one environment to another (to address the file
encoding issues in the current 1.0 spec)
----------------------------

--Travis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://five.pairlist.net/pipermail/lsc/attachments/20080515/faf7e0f1/attachment.htm>


More information about the LSC mailing list