I notice that when I paste the following XUL content into a xul file, the syntax checker finds a problem with the toolbox element ("cvc-complex-type.2.4.b: The content of element 'toolbox' is not complete. One of [snip] expected"). This content is drawn from the Mozilla XUL tutorials (http://developer.mozilla.org/en/docs/XUL_Tutorial:Simple_Menu_Bars). I'm a little confused by the error message, because it suggests a large number of elements that could be included in a toolbox, but adding an arbitrary one doesn't necessarily resolve the error. Am I mis-understanding, or is this tutorial code sample now incorrect with the XUL spec?
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window id="example-window" title="Example 5.2.1"
<menu id="file-menu" label="File">
Thanks -- Dennis
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.