summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2002-01-16 18:54:53 +0000
committerMatthew Newhook <matthew@zeroc.com>2002-01-16 18:54:53 +0000
commitb52bc3d19c47b99a0b011f7a7410af05415668f7 (patch)
treea4b4907d65631b80caa33a66f3dc5d0c5eb75f28 /cpp/src
parentCommented out the Security Trace. (diff)
downloadice-b52bc3d19c47b99a0b011f7a7410af05415668f7.tar.bz2
ice-b52bc3d19c47b99a0b011f7a7410af05415668f7.tar.xz
ice-b52bc3d19c47b99a0b011f7a7410af05415668f7.zip
updates for slice2xsd.
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2xsd/Gen.cpp4
-rw-r--r--cpp/src/slice2xsd/ice.xsd8
2 files changed, 9 insertions, 3 deletions
diff --git a/cpp/src/slice2xsd/Gen.cpp b/cpp/src/slice2xsd/Gen.cpp
index 79161fa1d8b..82f5a09b3a4 100644
--- a/cpp/src/slice2xsd/Gen.cpp
+++ b/cpp/src/slice2xsd/Gen.cpp
@@ -563,7 +563,6 @@ Slice::Gen::toString(const SyntaxTreeBasePtr& p)
"xs:float",
"xs:double",
"xs:string",
- "xs:string",
"ice:_internal.objectType", /* Object */
"ice:_internal.proxyType", /* Object* */
"???" /* LocalObject */
@@ -586,7 +585,8 @@ Slice::Gen::toString(const SyntaxTreeBasePtr& p)
if (cl)
{
string scopeId = containedToId(cl);
- s = "tns:" + internalId + scopeId + cl->name() + "Type";
+ //s = "tns:" + internalId + scopeId + cl->name() + "Type";
+ s = "ice:_internal.reference";
}
ExceptionPtr ex = ExceptionPtr::dynamicCast(p);
diff --git a/cpp/src/slice2xsd/ice.xsd b/cpp/src/slice2xsd/ice.xsd
index 4e4112cda06..06dd041f40c 100644
--- a/cpp/src/slice2xsd/ice.xsd
+++ b/cpp/src/slice2xsd/ice.xsd
@@ -34,6 +34,7 @@ All Rights Reserved
<xs:element name="facets" type="tns:_internal.facetType"/>
</xs:sequence>
<xs:attribute name="id" type="xs:string"/>
+ <xs:attribute name="type" type="xs:string"/>
</xs:complexType>
<xs:element name="object" type="tns:_internal.objectType"/>
@@ -60,10 +61,15 @@ All Rights Reserved
<xs:complexType name="dataType">
<xs:sequence>
- <xs:any namespace="##any" minOccurs="0"/>
+ <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:element name="data" type="tns:dataType"/>
+ <xs:complexType name="_internal.reference">
+ <xs:sequence/>
+ <xs:attribute name="href" type="xs:anyURI" use="required"/>
+ </xs:complexType>
+
</xs:schema>