To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59597





------- Additional comments from [EMAIL PROTECTED] Tue Dec 20 17:59:52 -0800 
2005 -------
Jsc, thank you for pointing me to the Addons.xcs file.

I am not well-versed in XML Schema, but would like to be able to validate my
addons.xcu files against a schema (RelaxNG, with which I'm better acquainted,
would be fine as well) manually and, possibly, later automate the process so
that I could programmatically generate add-ons with valid xcu files.

There are some differences between the file:

<office_root>\share\registry\shema\org\openoffice\Office\Addons.xcs

and the "schema" given in the Developer's Guide.

At first glance, these differences seem to be mainly/only the presence, in the
document in the registry, of <info> elements with <descr> child elements.  Why
the difference? To make the Dev Guide more readable?

Neither the DevGuide schema nor the one from OOo's registry validate as XML
Schema (I'm checking them with the Eclipse oXygen XML plugin).

For the DevGuide document, the complaints revolve around the root element - not
being <xsd:schema> and the root element that is present,<oor:component-schema>,
being prefixed with a namespace other than the XML Schema namespace and
<oor:component-schema> not being a valid root element period.

For the document preent in OOo's registry, oXygen XML gives me the same
complaints followed by as many errors as there are info/descr element pairs:

"Non-whitespace characters are not allowed in schema elements other than
'xs:appinfo' and 'xs:documentation' [...]"

Are these XML Schema definitions (as in <http://www.w3.org/XML/Schema>) that are
just a little broken or are they non-XML-Schema schemas that happen to use the
XML Schema datatypes?

The tool also shows a lot of (different) errors for the schemas on
<http://util.openoffice.org/common/configuration/oor-document-format.html>,
though they start off with xs:schema.

As I said, I'm not well-acquainted with XML Schema and I am probably relying too
much on a tool to check out these schemas, but, by all accounts, oXygen XML is
widely used and seems to be pretty trustworthy.

Thanks for your help.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to