I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-04-05 16:16:43-07 by barry
XML won't parse with default namespace

I'm having trouble parsing an XML file with XML::LibXML when there is a default namespace:

<Mynode xmlns="http://somewhere/dot/com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://somewhere2/dot/com/myfile.xsd">
....
</Mynode>

If I add a namespace prefix it parses fine:

<n:Mynode xmlns:n="http://somewhere/dot/com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://somewhere2/dot/com/myfile.xsd">
....
</n:Mynode>

Anyone have any ideas? Thanks in advance.
Direct Responses: 1627 | Write a response
Posted on 2006-01-17 15:13:52-08 by fuchur in response to 299
Re: XML won't parse with default namespace

Same problem here!

barry, did you find a solution in the meantime? Would be great if you could share your solution.

Thanks a lot.
Direct Responses: Write a response