xml namespace error

A

Ajay

hi!

i have the following code to create a a document
ssock = StringIO.StringIO(inputString)
reader = Sax2.Reader()
doc = reader.fromStream(ssock)

input string simply contains <appel:RULE></appel:RULE>
when i run it, it throws a namespace error. i can understand where the
error is coming from (i haven't defined the namespace), but is there a way
to get past it? to get it to ignore the namespace?
the same thing in Java works fine (without worrying about the namespace).

thanks

cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,667
Latest member
DaniloB294

Latest Threads

Top