Re[2]: [xml] xmlSubstituteEntitiesDefault problems



-----BEGIN PGP SIGNED MESSAGE-----

Hello Daniel,

30 Dec 2001, 22:25:38, you wrote:
get replaced through their human readable chars. What did I
misunderstand?
  predefined character entities are automatically replaced, as well
as numeric character references. Replacing them with entities nodes
doesn't really make sense.

Oh I didn't want to have them replaced by entity nodes but left alone
(i.e. plain text):

<xml>some text &lt;</xml>

should give me the content

some text &lt;

since otherwise, I needed to filter vast numbers of short strings
through xmlEncodeEntitiesReentrant() to generate the XML buffer I
need
for further processing and that probably would be rather slow.

What
if I haven't got a doc to call it upon at that time? Create an
empty one?
  xmlEncodeEntitiesReentrant() with the first arg set to NULL
should still work.

Ok. Thanks.



Best regards,
 Gabriel


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBPDA7PcZa2WpymlDxAQHEIgf/cS+sDilHdelMZI2qwduy/5wxQqkTy1As
OsH7o4Vhz6MjBKcLIXfWG12jJAnkEkjXj63MlTU5XxitjDisiXgKOEBYdtphJ5if
2k0MFW9i3J/d0JxU7TraevwWToL72w7Lk0LgplTt4xwjc3GDorwwr/uj30iQuLnI
9vdcDUnqo2FUjUHwkupxO47WfaiOeJSThImOVMmga6WpZE79VOePL/Li6YE2nerZ
B2E3O28osmp714fLWybPzvEKRpiVSpuHfGzeD9Ql1C6TQzZ7y80E5Ms9bW5lD9UY
RxLZl8TfNPcomBV8TwjWE6vussuhCY46PQ6Oofaj4jIyMqPNw2meaw==
=WAI6
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]