[Yanel-dev] Another namespace problem with the XML resource
Michael Wechner
michael.wechner at wyona.com
Wed Aug 15 13:30:35 CEST 2007
Josias Thöny wrote:
>
>>>
>>> However I'm not sure if this is a good solution.
>>
>>
>>
>> why not?
>
>
> Our XMLSerializer expects that an element in the SAX stream with a
> namespace either has an attribute which declares this namespace (or
> one of the ancestors has such an attribute).
> AFAIK this is not required in a SAX stream, and apparently the default
> of the Xerces XMLReader is to omit the namespace declaration attributes.
> This has been changed by the above setFeature(...) line, but if
> someone uses our serializer in a different situation, the same problem
> may occur again.
ok
>
>>
>>> I guess the "correct" solution would be to implement namespace
>>> normalization in the XMLSerializer. But that might be a lot of work...
>>
>>
>>
>> have we a bug/task entry for this already?
>
>
> I just filed a bug:
>
> http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5458
thanks very much
Michi
>
> Josias
>
>>
>> Cheers
>>
>> Michi
>>
>>>
>>> Josias
>>>
>>>
>>>
>>>>
>>>> Thanks
>>>>
>>>> Michi
>>>>
>>>
>>> _______________________________________________
>>> Yanel-development mailing list
>>> Yanel-development at wyona.com
>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>
>>
>>
>>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
--
Michael Wechner
Wyona - Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list