[openrtm-commit:00422] r215 - trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/src/jp/go/aist/rtm/toolscommon/profiles/util
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 9月 25日 (日) 13:33:08 JST
Author: sakamoto
Date: 2011-09-25 13:33:08 +0900 (Sun, 25 Sep 2011)
New Revision: 215
Modified:
trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/src/jp/go/aist/rtm/toolscommon/profiles/util/XmlHandler.java
Log:
Modify Constraints Validation
Modified: trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/src/jp/go/aist/rtm/toolscommon/profiles/util/XmlHandler.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/src/jp/go/aist/rtm/toolscommon/profiles/util/XmlHandler.java 2011-07-17 14:45:08 UTC (rev 214)
+++ trunk/rtmtools/jp.go.aist.rtm.toolscommon.profiles/src/jp/go/aist/rtm/toolscommon/profiles/util/XmlHandler.java 2011-09-25 04:33:08 UTC (rev 215)
@@ -446,6 +446,7 @@
public static ConstraintType convertToXmlConstraint(String source) throws Exception {
if(source==null || source.length()==0 ) throw new Exception(Messages.getString("XmlHandler.69"));
+ source = source.replace(" ", "");
ObjectFactory factory = new ObjectFactory();
ConstraintType result = factory.createConstraintType();
openrtm-commit メーリングリストの案内