Author: jleroux
Date: Mon Oct 7 15:07:25 2013
New Revision: 1529933
URL:
http://svn.apache.org/r1529933Log:
Makes the documentation more legible
Modified:
ofbiz/trunk/framework/service/dtd/services.xsd
Modified: ofbiz/trunk/framework/service/dtd/services.xsd
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/dtd/services.xsd?rev=1529933&r1=1529932&r2=1529933&view=diff==============================================================================
--- ofbiz/trunk/framework/service/dtd/services.xsd (original)
+++ ofbiz/trunk/framework/service/dtd/services.xsd Mon Oct 7 15:07:25 2013
@@ -396,7 +396,13 @@ under the License.
</xs:simpleType>
</xs:attribute>
<xs:attribute name="default-value" type="xs:string">
- <xs:annotation><xs:documentation>The value specified will be used for the attribute if no value is passed in. This will only happen if it is okay to not pass a value in, so if this is set then optional will be set to true. If optional=false and this is set then the value will be overridden and with a value in default-value is will set optional=true anyway.</xs:documentation></xs:annotation>
+ <xs:annotation>
+ <xs:documentation>The value specified will be used for the attribute if no value is passed in.
+ This will only happen if it is okay to not pass a value in, so if this is set then optional will be set to true.
+ If optional=false and this is set then the value will be overridden and with a value in default-value is will set
+ optional=true anyway.
+ </xs:documentation>
+ </xs:annotation>
</xs:attribute>
<xs:attribute name="form-label" type="xs:string"/>
<xs:attribute name="entity-name" type="xs:string"/>
@@ -417,7 +423,7 @@ under the License.
<xs:annotation><xs:documentation>
Applies only to String fields.
Only checked for incoming parameters/attributes (could change in the future, but this is meant for validating input from users, other systems, etc).
- Defualts to "none" meaning no HTML is allowed (will result in an error message).
+ Defaults to "none" meaning no HTML is allowed (will result in an error message).
If some HTML is desired then use "safe" which will follow the rules in the antisamy-esapi.xml file. This should be safe for both internal and public users.
In rare cases when users are trusted or it is not a sensitive field the "any" option may be used to not check the HTML content at all.
</xs:documentation></xs:annotation>