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 (Created) (JIRA)" <ji...@apache.org> on 2012/03/29 18:06:28 UTC

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

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

        

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

Posted by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241532#comment-13241532 ] 

Erwan de FERRIERES commented on OFBIZ-4772:
-------------------------------------------

Hi Francis,

to be included in OFBiz, your patch should be attached to the JIRA issue and the license granted.

Thanks,
                
> 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

        

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

Posted by "Francis ANDRE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francis ANDRE updated OFBIZ-4772:
---------------------------------

    Attachment: ofbiz.patch
    
> 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
>         Attachments: ofbiz.patch
>
>
> 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

        

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

Posted by "Francis ANDRE (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Jacques Le Roux (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-4772.
----------------------------------

       Resolution: Invalid
    Fix Version/s: SVN trunk
         Assignee: Jacques Le Roux

Thanks for report Francis,

I have not applied your patch but rather Replaced width="200" by style="cssImgXLarge" for images". Anyway I don't think the width attribute was handled in form fields (hence the miss in XSD, which should rather seen as the model)
                
> 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
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk
>
>         Attachments: ofbiz.patch
>
>
> 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