[Yanel-dev] where does this shape="rect" come from

simon simon at 333.ch
Sun Jun 19 07:52:42 EDT 2016


Ok, here i found some interesting Information, which solved my problem:
http://www.xmlplease.com/xhtml/shaperect

Cheers
Simon

Am 19.06.2016 um 08:49 schrieb simon:
> Hi Michi,
>
> Am 18.06.2016 um 22:05 schrieb Michael Wechner:
>> Dear Simon
>>
>> The Yanel website also uses the navigation resource
>>
>> src/realms/yanel-website/res-configs-repo/data/navigation/menu.xml.yanel-rc
>>
>> for example
>>
>> http://www.yanel.org/en/about.html
> What do you want to say? http://www.yanel.org/en/about.html also shows 
> this shape attribute.
>>
>> I think we should first try to understand why
>>
>> src/resources/navigation/src/java/org/wyona/yanel/impl/resources/navigation/NavigationResource.java
>>
>> is generating this attribute when the XHTML_STRICT serializer is 
>> being used.
> I agree.
>
> Cheers
> Simon
>>
>> Otherwise I agree, that we could make it configurable
>>
>> Thanks for your pointers
>>
>> Michael
>>
>> Am 18.06.16 um 11:12 schrieb simon:
>>> Dear Michi,
>>>
>>> I found the cause:
>>> if i change
>>> Serializer serializer = 
>>> SerializerFactory.getSerializer(SerializerFactory.XHTML_STRICT);
>>> to
>>> Serializer serializer = 
>>> SerializerFactory.getSerializer(SerializerFactory.XML);
>>> within the NavigationResource.java
>>>
>>> then the shape="rect" are gone.
>>>
>>> Probably this should be fixed by making the Serializer configurable. 
>>> What do you think?
>>>
>>> Cheers
>>> Simon
>>>
>>> Am 18.06.2016 um 08:43 schrieb simon:
>>>> Dear Michi,
>>>>
>>>> Am 17.06.2016 um 23:39 schrieb Michael Wechner:
>>>>> Dear Simon
>>>>>
>>>>> Can you provide some more details?
>>>> I just found them in my site: https://www.teil3.ch
>>>> I found them in http://www.zwischengas.com
>>>> I did NOT found them on http://wyona.com/de/index.html but on 
>>>> http://wyona.com/de/kontakt.html.
>>>> It looks like it is found within the navigation.
>>>>
>>>> Will have a closer look later.
>>>>
>>>> Cheers
>>>> Simon
>>>>>
>>>>> I am not sure whether this is really Yanel, because for example
>>>>>
>>>>> view-source:https://www.yulup.com/en/index.html
>>>>>
>>>>> also contains links without shape attributes.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Michael
>>>>>
>>>>> Am 17.06.16 um 19:59 schrieb simon:
>>>>>> Dear all
>>>>>>
>>>>>> Why does yanel allways add shape="rect" to a elements?
>>>>>> <a href="../de/management.html" shape="rect">
>>>>>>
>>>>>> w3c validator complains about:
>>>>>>
>>>>>> *Error*: The |shape| attribute on the |a| element is obsolete. 
>>>>>> Use |area| instead of |a| for image maps.
>>>>>>
>>>>>> Cheers
>>>>>> Simon
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> TEIL3
>>>>>> Vulkanstrasse 114
>>>>>> 8048 Zürich
>>>>>>
>>>>>> www.teil3.ch
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> -- 
>>>> TEIL3
>>>> Vulkanstrasse 114
>>>> 8048 Zürich
>>>>
>>>> www.teil3.ch
>>>>
>>>>
>>>
>>>
>>> -- 
>>> TEIL3
>>> Vulkanstrasse 114
>>> 8048 Zürich
>>>
>>> www.teil3.ch
>>>
>>>
>>
>>
>>
>
>
> -- 
> TEIL3
> Vulkanstrasse 114
> 8048 Zürich
>
> www.teil3.ch
>
>


-- 
TEIL3
Vulkanstrasse 114
8048 Zürich

www.teil3.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mx2.wyona.com/pipermail/yanel-development/attachments/20160619/f2902266/attachment-0001.html>


More information about the Yanel-development mailing list