[xml] Problem with entities
- From: "Alberto Simões" <hashashin gmail com>
- To: xml gnome org
- Subject: [xml] Problem with entities
- Date: Tue, 6 Jun 2006 22:37:01 +0100
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>∫</mo><mn>0</mn><mi>x</mi></msubsup>
^
modules/stdlib/stdlib.xml:278: parser error : Entity 'ExponentialE' not defined
<msup><mi>ⅇ</mi><mrow><mo>-</mo><mi>t</mi><mo>×</mo><mi>
Is there any way to make libxml2 do not complain with them?
Thanks
Kind regards,
Alberto
--
Alberto Simões
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]