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

Fabian Huschka fabian.huschka at componio.net
Fri Feb 1 09:53:52 CET 2008


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



More information about the opencms-dev mailing list