You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Francis ANDRE (Commented) (JIRA)" <ji...@apache.org> on 2012/03/29 18:08:28 UTC

[jira] [Commented] (OFBIZ-4772) xml validation: Invalid attribute width in /ofbiz/applications/product/widget/catalog/ImageManagementForms.xml

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

Francis ANDRE commented on OFBIZ-4772:
--------------------------------------

Index: framework/widget/dtd/widget-form.xsd
===================================================================
--- framework/widget/dtd/widget-form.xsd	(revision 1306524)
+++ framework/widget/dtd/widget-form.xsd	(working copy)
@@ -938,6 +938,7 @@
         <xs:attribute type="xs:string" name="default-value"/>
         <xs:attribute type="xs:string" name="description"/>
         <xs:attribute type="xs:string" name="alternate"/>
+        <xs:attribute type="xs:positiveInteger" name="width"/>
     </xs:attributeGroup>
     <xs:element name="lookup" substitutionGroup="AllFields">
         <xs:complexType>

                
> xml validation: Invalid attribute width in /ofbiz/applications/product/widget/catalog/ImageManagementForms.xml
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4772
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4772
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Francis ANDRE
>
> Hi
> Validation of /ofbiz/applications/product/widget/catalog/ImageManagementForms.xml leads to a error
> Description	Resource	Path	Location	Type
> cvc-complex-type.3.2.2: Attribute 'width' is not allowed to appear in element 'image'.	ImageManagementForms.xml	/ofbiz/applications/product/widget/catalog	line 412	XML Problem
> Rgds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira