From: <eg...@us...> - 2008-11-03 13:43:50
|
Revision: 12985 http://cdk.svn.sourceforge.net/cdk/?rev=12985&view=rev Author: egonw Date: 2008-11-03 13:43:45 +0000 (Mon, 03 Nov 2008) Log Message: ----------- Fixed schema's: it no longer complains about the validation failing... Modified Paths: -------------- cdk-xws/trunk/xws-cdk-services/src/org/openscience/cdk/xws/services/SomeCDKFunctionOne.java Added Paths: ----------- cdk-xws/trunk/.gitignore cdk-xws/trunk/xws-cdk-services/schema/ cdk-xws/trunk/xws-cdk-services/schema/one_in.xsd cdk-xws/trunk/xws-cdk-services/schema/one_out.xsd Added: cdk-xws/trunk/.gitignore =================================================================== --- cdk-xws/trunk/.gitignore (rev 0) +++ cdk-xws/trunk/.gitignore 2008-11-03 13:43:45 UTC (rev 12985) @@ -0,0 +1,3 @@ +xws-cdk-services/.settings/ +runtime +xws-cdk-services/jar/cdk-1.1.1.jar Added: cdk-xws/trunk/xws-cdk-services/schema/one_in.xsd =================================================================== --- cdk-xws/trunk/xws-cdk-services/schema/one_in.xsd (rev 0) +++ cdk-xws/trunk/xws-cdk-services/schema/one_in.xsd 2008-11-03 13:43:45 UTC (rev 12985) @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns="urn:xws:cdk:input" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:xws:cdk:input"> + <xs:element name="smiles" type="xs:string"> + <!-- The SMILES. --> + </xs:element> +</xs:schema> Added: cdk-xws/trunk/xws-cdk-services/schema/one_out.xsd =================================================================== --- cdk-xws/trunk/xws-cdk-services/schema/one_out.xsd (rev 0) +++ cdk-xws/trunk/xws-cdk-services/schema/one_out.xsd 2008-11-03 13:43:45 UTC (rev 12985) @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns="urn:xws:cdk:input" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:xws:cdk:input"> + <xs:element name='mass' type='xs:float'> + <!-- The SMILES. --> + </xs:element> +</xs:schema> Modified: cdk-xws/trunk/xws-cdk-services/src/org/openscience/cdk/xws/services/SomeCDKFunctionOne.java =================================================================== --- cdk-xws/trunk/xws-cdk-services/src/org/openscience/cdk/xws/services/SomeCDKFunctionOne.java 2008-11-02 23:33:04 UTC (rev 12984) +++ cdk-xws/trunk/xws-cdk-services/src/org/openscience/cdk/xws/services/SomeCDKFunctionOne.java 2008-11-03 13:43:45 UTC (rev 12985) @@ -53,12 +53,12 @@ "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' " + " targetNamespace='urn:xws:cdk:input' " + " xmlns='urn:xws:cdk:input' elementFormDefault='qualified'>" + - " <xs:element name='smiles' minOccurs='1' maxOccurs='1' type='xs:string'>" + + " <xs:element name='smiles' type='xs:string'>" + " <!-- The SMILES. -->" + " </xs:element>" + "</xs:schema>", "<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' targetNamespace='urn:xws:cdk:output' xmlns='urn:xws:cdk:output' elementFormDefault='qualified'>" + - " <xs:element name='mass' minOccurs='1' maxOccurs='1' type='xs:float'>" + + " <xs:element name='mass' type='xs:float'>" + " <!-- The mass. -->" + " </xs:element>" + "</xs:schema>", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |