XML fix namespace declaration
Posted
by er4z0r
on Stack Overflow
See other posts from Stack Overflow
or by er4z0r
Published on 2010-03-14T21:53:01Z
Indexed on
2010/03/14
21:55 UTC
Read the original article
Hit count: 331
Hi all,
I am trying to detetct/work around this bug in RSS elements. That means I have to find a wrong namespace-declaration and change its value to the correct namespace. E.g:
xmlns:media="http://search.yahoo.com/mrss"
must be:
xmlns:media="http://search.yahoo.com/mrss/"
How can I achive that using the standard java XML APIs?
© Stack Overflow or respective owner