[Yanel-dev] XML with namespace

simon simon at 333.ch
Mon Mar 13 15:47:54 EDT 2017


I actually found a solution in the usecase resource. So i don't have the 
old config anymore. but yes, it looked similar to your example.

Simon

Am 13.03.2017 um 14:47 schrieb Michael Wechner:
> can you send the resource config, the input XML and the output XML?
>
> Does your resource config look like for example
>
> <yanel:resource-config xmlns:yanel="http://www.wyona.org/yanel/rti/1.0">
>    <yanel:rti name="xml"
> namespace="http://www.wyona.org/yanel/resource/1.0"/>
>
>    <yanel:property name="yanel:no-cache" value="true"/>
>
>    <yanel:custom-config>
>      <views xmlns="http://www.wyona.org/yanel/rti/1.0">
>        <view id="default">
>          <mime-type>application/xml</mime-type>
>        </view>
>      </views>
>    </yanel:custom-config>
> </yanel:resource-config>
>
> Thanks
>
> Michael
>
> Am 13.03.17 um 08:58 schrieb Michael Wechner:
>> I will check it today in the afternoon. Can you send me the link to the
>> mail thread?
>>
>> Thanks
>>
>> Michi
>>
>> Am 11.03.17 um 22:12 schrieb simon:
>>> I even found a single mail thread "Strip namespace problem" from 2008
>>> where Michi is saying:
>>> "I think we should set fixing this to a high priority."
>>>
>>> I guess this hasn't been fixed yet and will not be fixed soon. right
>>> michi?
>>>
>>> Cheers
>>> Simon
>>>
>>> Am 11.03.2017 um 22:04 schrieb simon:
>>>> I just found i thread "Another namespace problem with the XML
>>>> resource" from 2007 which describes a problem which sounds like mine.
>>>>
>>>> Am 11.03.2017 um 21:44 schrieb simon:
>>>>> i mean, i don't get the namespace binding in the root element. e.g.
>>>>> xmlns:te="http://www.sitemaps.org/schemas/sitemap/0.9"
>>>>>
>>>>> Am 11.03.2017 um 20:37 schrieb Balz Schreier:
>>>>>> What do you mean by losing!?
>>>>>>
>>>>>>> On 11 Mar 2017, at 11:11, simon <simon at 333.ch> wrote:
>>>>>>>
>>>>>>> Dear all
>>>>>>>
>>>>>>> Could someone give me a hint, why i always loosing the namespace
>>>>>>> declaration when using the XMLResource?
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Simon
>>>>>>>
>>>>>>> -- 
>>>>>>> TEIL3
>>>>>>> Vulkanstrasse 114
>>>>>>> 8048 Zürich
>>>>>>>
>>>>>>> www.teil3.ch
>>>>>>>
>>>>>>> -- 
>>>>>>> Yanel-development mailing list Yanel-development at wyona.com
>>>>>>> http://mx2.wyona.com/cgi-bin/mailman/listinfo/yanel-development


-- 
TEIL3
Vulkanstrasse 114
8048 Zürich

www.teil3.ch



More information about the Yanel-development mailing list