Schema Sources
From OpenLaszlo
The schema sources are in $LPS_HOME/WEB-INF/lps/schema. The master source file is lzx.rnc. This is a RELAX NG source file. Other files are generated from it.
The compiler validates against lzx.rng. The ant file in the schema directory builds this file from lzx.rnc. The compiler only reads this file when it starts up.
The work cycle for trying out schema changes is one of:
- Edit lzx.rnc
- 'ant build' in the schema directory
- Restart the server
- Use the browser to request a URL
or:
- Edit lzx.rnc
- 'ant build' in the schema directory
- Use lzc to compile a file
'ant build' can be abbreviated to 'ant'. As an alternative to invoking this command in the schema directory, 'ant' and 'ant schema' in the SDk home directory will also compile the schema file.

