Hi

I am trying to parse a document which doesn't have an associated DTD
or schema, and I really do not want to define the DTD.

The problem is that the document contains a lot of entities (things
like π, δ &foo;, &bar; and so on) and I can't make libxml2
cope with them. Basically, I get things like:

modules/stdlib/stdlib.xml:277: parser error : Entity 'int' not defined
           <msubsup><mo>&int;</mo><mn>0</mn><mi>x</mi></msubsup>
                             ^
modules/stdlib/stdlib.xml:278: parser error : Entity 'ExponentialE' not defined
           
<msup><mi>&ExponentialE;</mi><mrow><mo>-</mo><mi>t</mi><mo>&times;</mo><mi>


Is there any way to make libxml2 do not complain with them?

Thanks
Kind regards,
Alberto

--
Alberto Simões
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to