[xml] libxml looses namespace info

Date view Thread view Subject view Author view

From: Joerg Wittenberger (Joerg.Wittenberger@pobox.com)
Date: Wed Nov 03 1999 - 13:13:38 EST


Hi,

I've build the following xml document (with libxml, naturally), wrote
it out and parsed in back again. Easy to spot, the namespace info is
being lost. Anything I could have done wrong or is this a bug?

version build:
<?xml version="1.0"?>
<prefix:doc xmlns:prefix="href" xmlns:prefixi="hrefi">
  <prefixi:a p="3">
    <prefixi:b p="3"/>
  </prefixi:a>
</prefix:doc>

document after reading via xmlParseFile:
<?xml version="1.0"?>
<prefix:doc xmlns:prefix="href">
  <a p="3">
    <b p="3"/>
  </a>
</prefix:doc>

where is my prefixi????

thanks for any hint,

/Jerry

----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:50 EDT