$Id: XComponent.rng,v 1.1.1.1 2002/01/07 10:32:17 derekh Exp $
XComponent RelaxNG Schema. Part of the XPipe system http://xpipe.sourceforge.net.
The RelaxNG Schema itself can be found at http://xpipe.sourceforge.net/XComponent.rng.
It makes use of some common RelaxNG patterns housed in http://xpipe.sourceforge.net/Common.rng.
XComponent version information.
XComponent Title. A reasonably descriptive string for what the XComponent does.
Keywords are used for cataloging and retrieval of XComponents. A controlled vocabular is
under consideration.
A keyword.
Author Information. Must be well formed. Basic XHTML recommended.
Documentation for the XComponent. Must be well formed. XHTML recommended.
An XComponent can take command line parameters. The parameters have names which are used for documentation
purposes only. Only the values will be passed into the executing XComponent by the XPipe executive.
Parameters are passed into the XComponent in the order specified in the XComponent.
A named parameter. In an XPipe the named parameters can have values associated with them.
At execution time, the parameter values are made available to the executing XComponent on its
command line.
Unit Tests. Used to exercise the XComponent and ensure it is doing what it is supposed to
do. The XComponentUnitTester application can be used to execute the tests.
A unit test. Used to exercise the XComponent and ensure it is doing what it is supposed to
do. The XComponentUnitTester application can be used to execute the test.
An optional Name for the Test. Used in XComponentUnitTest application for example, to display
test progress to the user.
Href attribute can be used to refer to an external URI or, if prefixed with a "#" a
named resource from the Resources section of the XComponent.
Pre condition type.
JavaClass
Jython
XSD
RNG
DTD
Pre condition Encoding (PLAIN or BASE64).
PLAIN
BASE64
Filename to extract the Pre element into. Used primarily with Encodinging=BASE64 and Type = JavaClass
Additions to the CLASSPATH made by the XPipe executive prior to executing the XComponent.
Code Type. JavaClass indicated Java .class file (base64 encoded).
"Exec" signifies that Code element contains a command suitable
for command line execution to invoke the component.
JavaClass
Jython
XSLT
Exec
Code encoding (PLAIN or BASE64).
PLAIN
BASE64
Filename to extract the Code element into. Used with Encodinging=BASE64 and Type = JavaClass
Additions to the CLASSPATH made by the XPipe executive prior to executing the XComponent.
Href attribute can be used to refer to an external URI or, if prefixed with a "#" a
named resource from the Resources section of the XComponent.
Post condition type.
JavaClass
Jython
DTD
RNG
XSD
Code encoding (PLAIN or BASE64).
PLAIN
BASE64
Filename to extract the Pre element into. Used primarily with Encodinging=BASE64 and Type = JavaClass
Additions to the CLASSPATH made by the XPipe executive prior to executing the code.
Typically an XML instance. Href attribute can be used to refer to an external URI or, if prefixed with a "#" a
named resource from the Resources section of the XComponent.
Refer to an external URI or, if prefixed with a "#" a
named resource from the Resources section of the XComponent.
Encoding - default is "PLAIN"
PLAIN
BASE64
Href attribute can be used to refer to an external URI or, if prefixed with a "#" a
named resource from the Resources section of the XComponent.
Code encoding (PLAIN or BASE64).
PLAIN
BASE64
Resources are "files" used by this XComponent. They can be input/output files for unit tests, schemas
etc.
Resource identifier - must be unique in the XComponent.
Encoding - default is "PLAIN"
PLAIN
BASE64
Filename to extract the Resource into. If not supplied, resource not extracted when XComponent installed.