[opencms-dev] XSD: Mapping of attributes does not work (any more?!?)

Carl Alex Friis Nielsen cfn at kb.dk
Mon Feb 4 09:09:34 CET 2008


Its a known bug.
We got a patch for it via our support agreement with Alkakon.
I guess it will be fixed in the next release.

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org]On Behalf Of Fabian Huschka
> Sent: Friday, February 01, 2008 9:54 AM
> To: The OpenCms mailing list
> Subject: [opencms-dev] XSD: Mapping of attributes does not work (any
> more?!?)
> 
> 
> Hello people,
> 
> we have the following mappings defined in a XSD:
> 
>             <mappings>
>                 <mapping element="acPressRelease/Headline" 
> mapto="property:Title" />
>                 <mapping 
> element="acPressRelease/Category/CategoryName" 
> mapto="propertyList:ac_press_category" />
>                 <mapping element="acPressRelease/Date" 
> mapto="attribute:datereleased" />
>                 <mapping element="acPressRelease/DateExpire" 
> mapto="attribute:dateexpired" />
>             </mappings>
> 
> The elements "../Headline" and "../Category" are correctly treated. 
> However the "../Date" and "../DateExpire" fields get not 
> mapped to the 
> attributes.
> The nodes all exist, there is no typo involved and no errors 
> are thrown. 
> Strangely enough, the same XSD works as designed on another (rather) 
> identical setup.
> 
> Has anyone else experienced this behaviour/an idea what might 
> be amiss?
> 
> 
> Thanks and regards,
> 
> 
> \Fabian
> 
> _______________________________________________
> 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