Yes, I tried reading Wiki and other sources mentioned. This information helped me make a schema using XmlSpy which I could look at schema in picture format.
Attached schema might be helpful for others. Though there are some elements like extractors and events which are not complete yet as I do not know what is their usage and in what context.
It would be great if we can add more information to it based on our knowledge and circulate it.
VK
Paul Hussein <[EMAIL PROTECTED]> wrote:
Read the Wiki, some good examples in there
V K wrote:
>Hello All,
>
>
>
>Is there any schema available for Domain.xml to understand?
>
>
>
>Also, if some one can provide me some insight on how can I modify objectnode element(s) in order to support multi-data-store (like MySQL, Oracle and file system all together).
>
>
>
>I have tried steps from wiki with a help of sample xml file but could NOT succeed.
>
>
>
>Your help is greatly appreciated.
>
>
>
>VK
>
>
>
>
>
>
>---------------------------------
>Yahoo! for Good
>Click here to donate to the Hurricane Katrina relief effort.
>
>
>
>---------------------------------
>Yahoo! for Good
> Click here to do nate to the Hurricane Katrina relief effort.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="slide"> <xs:annotation> <xs:documentation>root element for slide's Domain.xml</xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="namespace" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="definition"> <xs:complexType> <xs:sequence> <xs:element name="store" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="nodestore"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="sequencestore"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="secuirtystore"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="lockstore"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="revisiondesciptorsstore"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="revisiondesciptorstore"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="contentstore"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="contentindexer"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="propertiesindexer"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="reference" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="classname" type="xs:string" use="optional" default="org.apache.slide.store.ExtendedStore"/> </xs:complexType> </xs:element> <xs:element name="scope" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="store"/> <xs:element name="match"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="configuration"> <xs:complexType> <xs:sequence> <xs:element name="default-action"/> <xs:element name="read-object" minOccurs="0"/> <xs:element name="create-object" minOccurs="0"/> <xs:element name="remove-object" minOccurs="0"/> <xs:element name="grant-permission" minOccurs="0"/> <xs:element name="revoke-permission" minOccurs="0"/> <xs:element name="read-permissions" minOccurs="0"/> <xs:element name="lock-object" minOccurs="0"/> <xs:element name="kill-lock" minOccurs="0"/> <xs:element name="read-locks" minOccurs="0"/> <xs:element name="read-revision-metadata" minOccurs="0"/> <xs:element name="create-revision-metadata" minOccurs="0"/> <xs:element name="modify-revision-metadata" minOccurs="0"/> <xs:element name="remove-revision-metadata" minOccurs="0"/> <xs:element name="read-revision-content" minOccurs="0"/> <xs:element name="create-revision-content" minOccurs="0"/> <xs:element name="modify-revision-content" minOccurs="0"/> <xs:element name="remove-revision-content" minOccurs="0"/> <xs:element name="userspath" minOccurs="0"/> <xs:element name="guestpath" minOccurs="0"/> <xs:element name="filespath" minOccurs="0"/> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="role" minOccurs="0"> <xs:complexType> <xs:attribute name="name" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="auto-create-users" minOccurs="0"/> <xs:element name="auto-create-users-role" minOccurs="0"/> <xs:element ref="default-property" minOccurs="0"/> <xs:element name="content-interceptor" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element ref="parameter" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="class" type="xs:string" use="required"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="data" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element ref="objectnode" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="logger" type="xs:string" use="optional"/> <xs:attribute name="logger-level" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="extractors" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="events" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="logger" type="xs:string" use="optional"/> <xs:attribute name="logger-level" type="xs:string" use="optional"/> <xs:attribute name="default" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="parameter"> <xs:complexType> <xs:attribute name="name" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="reference"> <xs:complexType> <xs:attribute name="store" type="xs:string" use="required"> <xs:annotation> <xs:documentation>Accepted values: "nodestore", "securitystore", "lockstore", "revisiondescriptorsstore", "revisiondescriptorstore", "contentstore", "sequencestore"</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="objectnode"> <xs:complexType> <xs:sequence> <xs:element name="revision" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="ancestor" minOccurs="0"/> <xs:element name="property" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="namespace" type="xs:string" use="optional"/> <xs:attribute name="value" type="xs:string" use="optional"/> <xs:attribute name="role" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="content" minOccurs="0"/> </xs:sequence> <xs:attribute name="number" type="xs:int" use="required"/> <xs:attribute name="uri" type="xs:string" use="required"/> <xs:attribute name="linkedUri" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="permission" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="action" type="xs:string" use="required"/> <xs:attribute name="subject" type="xs:string" use="required"/> <xs:attribute name="negative" type="xs:boolean" use="optional" default="false"/> <xs:attribute name="inheritable" type="xs:boolean" use="optional" default="false"/> </xs:complexType> </xs:element> <xs:element ref="objectnode" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="classname" type="xs:string" use="required"/> <xs:attribute name="uri" type="xs:string" use="required"/> <xs:attribute name="linkedUri" type="xs:string" use="optional"/> </xs:complexType> </xs:element> <xs:element name="default-property"> <xs:complexType> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="namespace" type="xs:string" use="optional"/> <xs:attribute name="value" type="xs:string" use="optional"/> <xs:attribute name="role" type="xs:string" use="required"/> </xs:complexType> </xs:element> </xs:schema>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]