Commit 8da029f2 authored by ankraft's avatar ankraft
Browse files

Added optionality for Arg. Added test case.

parent 84fbbaa1
......@@ -139,6 +139,7 @@ ArgDef =
element Args {
element Arg {
attribute name { xsd:Name },
attribute optional { xsd:boolean }?,
attribute semanticURI { xsd:anyURI }?,
......@@ -386,6 +386,11 @@
<attribute name="name">
<data type="Name"/>
<attribute name="optional">
<data type="boolean"/>
<attribute name="semanticURI">
<data type="anyURI"/>
......@@ -312,6 +312,7 @@
<xs:element ref="DataType"/>
<xs:attribute name="name" use="required" type="xs:Name"/>
<xs:attribute name="optional" type="xs:boolean"/>
<xs:attribute name="semanticURI" type="xs:anyURI"/>
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Test the data types references -->
<Domain id="arg-test" xmlns="" xmlns:xi="">
<ModuleClass name="TestArg">
<Action name="testAction">
<Arg name="argMandatory">
<SimpleType type="boolean" />
<Arg name="argOptional" optional="true">
<SimpleType type="boolean" />
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment