XML Schema Notes

BEWARE: this is PROTOTYPE and APIs may and WILL change ...

NOTE: The <name> in a node is not the path to the node, and it cannot contain a /.

NOTE: <tag>? means that it is optional

NodeXML schema :=
<node xsi:type='n:dir|leaf' xmlns:n="http://portal.extreme.indiana.edu/20030301/">
  <name>required non empty name</name>
  <metadata>any XML fragmen</metadata>?
  <data-html>xsd:string representing HTML page</data-html>?
  <reference>URI referencing other service...</reference>?
</node>

DirectoryNode :=
<node xsi:type='n:dir' xmlns:n="http://portal.extreme.indiana.edu/20030301/">
  <name>name</name>
  <metadata><children>n1 n2 n3 ...</children></metadata>?
  <data-html/>?
  <permissions owner="DN" read-write-group="DN" read-only-group="DN" />
  <permissions-effective>
        <is-owner/>?
        <is-read-write-group/>?
        <is-read-only-group/>?
  <permissions-effective>
</node>


LeafNode :=
<node xsi:type='n:leaf' xmlns:n="http://portal.extreme.indiana.edu/20030301/">
  <name>name</name>
  <data-html>...</data-html>?
  <reference>...</reference>?
</node>


RemoteLeafNode :=
<node xsi:type='n:remote-leaf' xmlns:n="http://portal.extreme.indiana.edu/20030301/">
  <name>name</name>
  <remote-service>http://hostname:port</remote-service>
  <remote-path>path</remote-path>
</node>


RemoteDirectoryNode :=
<node xsi:type='n:remote-dir' xmlns:n="http://portal.extreme.indiana.edu/20030301/">
  <name>name</name>
  <remote-service>http://hostname:port</remote-service>
  <remote-path>path</remote-path>
</node>


Last modified: $Id: xml_schema.html,v 1.1 2005/05/06 21:28:17 machrist Exp $