[opencms-dev] duplicate XSD SchemaType definitions for "OpenCmsVfsImage" in OpenCms

Mario Jäger m.jaeger at alkacon.com
Wed Jul 14 09:42:30 CEST 2010


Hi Harald,

Thank you for the information.

Yes, create a Bug-Report for that, please.

-- 
Kind Regards,
Mario.
 
-------------------
Mario Jäger
 
Alkacon Software GmbH  - The OpenCms Experts                    
http://www.alkacon.com - http://www.opencms.org


Brabenetz, Harald schrieb:
> There are duplicate XSD SchemaType definitions for "OpenCmsVfsImage" in OpenCms.
>
> opencms.jar#/org/opencms/xml/types/XmlVfsFileValue.xsd:
> ---------------------------------
> <xsd:complexType name="OpenCmsVfsImage">
>     <xsd:sequence>
>         <xsd:element name="link" type="OpenCmsReference" minOccurs="0" maxOccurs="1" />
>     </xsd:sequence>
>     <xsd:attribute name="name" type="xsd:string" use="optional" />
>     <xsd:attribute name="enabled" type="xsd:boolean" use="optional" />
> </xsd:complexType>
> ---------------------------------
>
> opencms.jar#/org/opencms/xml/types/XmlVfsImageValue.xsd:
> ---------------------------------
> <xsd:complexType name="OpenCmsVfsImage">
>     <xsd:sequence>
>         <xsd:element name="link" type="OpenCmsReference" minOccurs="0" maxOccurs="1" />
>         <xsd:element name="description" type="OpenCmsString" minOccurs="0" maxOccurs="1" />
>         <xsd:element name="format" type="OpenCmsString" minOccurs="0" maxOccurs="1" />
>         <xsd:element name="scale" type="OpenCmsString" minOccurs="0" maxOccurs="1" />
>     </xsd:sequence>
>     <xsd:attribute name="name" type="xsd:string" use="optional" />
>     <xsd:attribute name="enabled" type="xsd:boolean" use="optional" />
> </xsd:complexType>
> ---------------------------------
>
> I found this because I got the Error "Invalid content element 'scale'. No child element is expected at this point" during saving a cropped image.
> Now I use the OpenCmsVfsFile element and it works fine.
> Should I create a Bug-Report?
>
>
> INFONOVA GmbH
> Sitz: Unterpremst?tten bei Graz
> Firmenbuchgericht: Landesgericht f?r ZRS Graz
> Firmenbuchnummer: FN 44354b
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>   



More information about the opencms-dev mailing list