[ 
https://issues.apache.org/jira/browse/OFBIZ-10411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481967#comment-16481967
 ] 

Mathieu Lirzin commented on OFBIZ-10411:
----------------------------------------

I have included the fix for the other xsd files.
{code:java}
17 files changed, 240 insertions(+), 1324 deletions(-)
framework/base/dtd/ofbiz-component.xsd    |  53 +---
framework/datafile/dtd/datafiles.xsd      |  36 +--
framework/entity/dtd/entity-config.xsd    | 197 ++----------
framework/entity/dtd/entity-eca.xsd       |  54 +---
framework/entity/dtd/entitymodel.xsd      |  48 ++-
framework/minilang/dtd/simple-methods.xsd |  39 +--
framework/service/dtd/service-config.xsd  |  17 +-
framework/service/dtd/service-eca.xsd     |  80 +----
framework/service/dtd/service-group.xsd   |   9 +-
framework/service/dtd/service-mca.xsd     |   9 +-
framework/service/dtd/services.xsd        | 124 +-------
framework/widget/dtd/widget-common.xsd    | 141 ++-------
framework/widget/dtd/widget-form.xsd      | 481 +++++-------------------------
framework/widget/dtd/widget-menu.xsd      |  57 +---
framework/widget/dtd/widget-screen.xsd    | 150 ++--------
framework/widget/dtd/widget-theme.xsd     |  21 +-
framework/widget/dtd/widget-tree.xsd      |  48 +--
{code}

> XML schemas should use predefined boolean type
> ----------------------------------------------
>
>                 Key: OFBIZ-10411
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10411
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Mathieu Lirzin
>            Priority: Minor
>         Attachments: OFBIZ-10411-use-boolean-type-in-site-conf.patch, 
> OFBIZ-10411-xml-use-boolean-type-follow-up.patch
>
>
> To define boolean values, some ad-hoc enumeration of "true" and "false" are 
> repeatedly used.  Since XML Schema defines a standard boolean datatype I will 
> be better to use it.
> For now I have only fixed `site-conf.xsd`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to