Schemas are described in the Developer Guide, but I have not updated that section in years.

http://labs.openlaszlo.org/legals-nightly/docs/developers/editing- lzx.html#d0e119916

Is this topic worth revisiting, or is the general topic sufficiently covered with this addition to the wiki?

Opinions welcome,

jrs

On Aug 28, 2007, at 1:30 PM, Benjamin Shine wrote:

For now, I've put a current OL4 schema up at
http://svn.openlaszlo.org/sandbox/ben/schemas/lzx-6261-openlaszlo- branches-wafflecone.dtd

This is the schema for wafflecone as of r6261, which was built yesterday.

We should put this someplace better.

On Aug 28, 2007, at 10:12 AM, Benjamin Shine wrote:

I remember this now.
In WEB-INF/lps/schema, there's an ant task to build the dtd: "ant dtd". We turned off this step in default builds because it was sloooow and we hardly ever actually need a dtd.

When I do "ant dtd" on my machine, I run into the python problem that various of us have been having, and which I haven't yet fixed.

We *do* build lzx.dtd on linux-builder, as part of the nightly build process. It ends up in WEB-INF/lps/schema/lzx.dtd. I'll post it somewhere.

MAMYE: posting an up-to-date copy of the schema on openlaszlo.org should be part of the release process. Can you please add this to the release process?

-ben

On Aug 27, 2007, at 3:40 PM, Henry Minsky wrote:

I don't know anything about how the DTD was generated, but do know about the
way to produce a RNG format schema file from the compiler.  You can
just run "lzc --schema " on a file and it will dump the schema it
generates in RNG format. I suppose that generating a sample app which
includes all the components (and the rpc libs too) would generate a
pretty complete schema.

If there's a tool which handles converting that to a DTD, I can help with that.

On 8/27/07, Sebastian Wagner <[EMAIL PROTECTED]> wrote:
hi,

i am wondering if there is a new url for the dtd of OL4? Or is the original
url from the ref-guide still valid but incomplete? Is this dtd auto
generated or written by hand? It would be very handy of there is some kind of auto-dtd-generater-script, not only for the plattform also for bigger projects to be able to validate the own code or to extend the scheme and use
it in a editor with code-completion.

Current url from the ref-guide:
http://www.laszlosystems.com/lps/tools/lzx.dtd
for example from the refgiude chapter about editing:
http://www.openlaszlo.org/lps4/docs/guide/editing-lzx.html#d0e33330



regards
sebastian wagner
--
Sebastian Wagner
 http://www.webbase-design.de
http://www.laszlo-forum.de
 [EMAIL PROTECTED]


--
Henry Minsky
Software Architect
[EMAIL PROTECTED]



Reply via email to