Skip to content

LibXML::XML::Error: LibXML::XML::Error at :0. #6

Closed
azisaka opened this Issue May 4, 2009 · 2 comments

3 participants

@azisaka
azisaka commented May 4, 2009

I'm getting this error only when I use has_many or has_one method.

The code and xml is here: http://gist.github.com/105430

@jimbomt
jimbomt commented Jan 19, 2011

hi,
I'm also having a similar issue but only when using has_many. The error message in this case is 'Undefined namespace prefix. (LibXML::XML::Error)'. Works "fine" if I use 'element" or "has_one' but it gets me of course one element - which is not what i want. Here is the sample code and xml:

class Paragraph
include HappyMapper

tag 'Description'
namespace MyModule::NS
attribute :name, String, :tag => 'Name'
has_many :text, String, :tag => 'Text', :namespace => MyModule::NS, :attributes => {:Language => String}
end


Title in English/ns:Text
Titolo in Italiano/ns:Text
/ns:Description

@jnunemaker
Owner

Closing due to staleness and the fact that the project is currently not being maintained.

@jnunemaker jnunemaker closed this Jun 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.