-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot set empty namespace xmlns="" to element #67
Comments
We're having this issue too.. I see you started working on it @shlomif, do you have any plans to continue? |
no immediate ones. pullreqs [with tests] are welcome |
Thanks @shlomif, I'll start digging through docs around xs but have a feeling this may be outside my expertise at the moment.. I'll at least try to get a test written. |
I have a similar need as https://stackoverflow.com/questions/5155102/how-to-represent-default-null-namespace-using-perl-xmllibxml. That is to explicitly have a
xmlns=""
on an element.Tried
$element->setNameSpace("", "", 0);
it does not work.At this moment the workaround I can think of is to do it like
$parser->parse_blanced_chunk(q{<foo xmlns=""></foo>})
. But this is dirty and best we fix it insetNameSpace
.The text was updated successfully, but these errors were encountered: