At runtime OFBiz always uses local XSD files for validation, and you
should do the same in your XML editor.
The one on ofbiz.apache.org (if it says www.ofbiz.org it's a very old
revision, at least 2-3 years old) is updated regularly to keep up with
the trunk.
So yeah, the solution is to use local copies of the files (which is
the general practice for the code, and a recommended practice for
development).
-David
On Mar 10, 2009, at 12:12 PM, Sanders, Brian wrote:
I'm not sure what trunk revision of OFBiz I'm on, but it seems that
OFBiz and the XSD file (http://www.ofbiz.org/dtds/simple-methods.xsd)
are in disagreement as to what attributes should go with certain
elements. For example, OFBiz is looking for the value-name attribute
in
<make-value/>, while the XSD says that the attribute should be named
value-field. Is this because the XSD is for another version, or
because
something is wrong?
-----Original Message-----
From: Sanders, Brian [mailto:[email protected]]
Sent: Tuesday, March 10, 2009 1:53 PM
To: [email protected]
Subject: RE: keepAlive
I think I found some leads. The log file indicates that some of the
elements are wrong (ie. Error message: cvc-complex-type.3.2.2:
Attribute
'value-field' is not allowed to appear in element 'make-value'.)
However, that's not what the XSD says.
-----Original Message-----
From: Sanders, Brian [mailto:[email protected]]
Sent: Tuesday, March 10, 2009 1:34 PM
To: [email protected]
Subject: keepAlive
I'm trying to implement the keepAlive workaround per
http://docs.ofbiz.org/pages/viewpage.action?pageId=1021
<http://docs.ofbiz.org/pages/viewpage.action?pageId=1021>
When I try to run the service, it says: Column 'GEO_TYPE_ID' cannot be
null
Not sure what I'm doing wrong or how I could go about debugging the
code
to see what I need to do. If anyone can suggest either somewhere to
set
a breakpoint, or what I can do with the XML, it would be much
appreciated. Thanks.