[Laszlo-user] More on namespaces and XML schema...
P T Withington
ptw at openlaszlo.org
Thu Apr 12 08:19:52 PDT 2007
Thanks for this report. I have added your message to [LPP-3179]
(http://jira.openlaszlo.org/jira/browse/LPP-3179) as being relevant
to that bug. We know that the dtd is not accurate and that the
namespace is stale. We hope to address these issues soon.
There are possibly separate issues that should be reported (the bad
doc link). Whether the canvas tag should accept namespace and schema
declarations is open to discussion. Our current philosophy is that
LZX is all in a single (implicit) namespace.
On 2007-04-12, at 09:36 EDT, Fennell, Philip wrote:
> Hello again,
> Seeing as the link in the documentation (running under tomcat) for
> lzx.dtd returns a 404 error I had to do a bit of searching around
> on the
> net. There's a link on the wiki, under 'Editing LZX' that is also
> So initialy I tried using the XML Schema (lzx.xsd) and noticed
> 1) That the form and window elements are not defined in the schema.
> 2) There are errors in the schema too:
> In the definition of the element 'preloadresource' the name and
> attributes are also declared elsewhere in attributeGroup declarations
> referenced directly and indirectly by this element declaration.
> 3) If you put the appropriate markup, in the root of you canvas
> document, to identify the schema:
> <canvas xmlns="http://www.laszlosystems.com/2003/05/lzx"
> You get the following error message form the compiler:
> The application could not be compiled due to the following errors:
> Compilation Errors
> form.lzx:10:22: Syntax error: the token ":" was not expected at this
> Compilation Warnings
> form.lzx:10:22: attribute "schemaLocation" from namespace
> "http://www.w3.org/2001/XMLSchema-instance" not allowed at this point;
> form.lzx:10:22: found an unknown attribute named "schemaLocation" on
> element canvas, check the spelling of this attribute name
> This would suggest that not only is Open Laszlo not XML namespace
> (see previous e-mail) but neither is it XML Schema aware either.
> Its not that I'm being picky for picky's sake, I actually like what
> seen of Open Laszlo so far. Its just that things I'd want and
> expect to
> work don't.
> Philip Fennell
More information about the Laszlo-user