Re: [xml] xinclude and entities with same name/different content
- From: Daniel Veillard <veillard redhat com>
- To: Pawel <libxml lists aliengov org>
- Cc: xml gnome org
- Subject: Re: [xml] xinclude and entities with same name/different content
- Date: Fri, 28 Mar 2003 13:55:30 -0500
On Fri, Mar 28, 2003 at 12:58:34PM -0500, Pawel wrote:
Hello,
I'm trying to use xinclude to include several documents that have
internal general entities with same name but different content.
This seemed to work with libxml 2.5.1 but after upgrading to 2.5.5
it complains: "mismatch in redefinition of entity title" and does
not include the documents.
Is what I'm trying to do allowed ?
Hum, it's clearly forbidden for external unparsed entities
http://www.w3.org/TR/xinclude/#notations
"It is a fatal error to include notation items with the same name,
but which are not determined to be duplicates."
Maybe libxml2 check is too strong now. It doesn't seems to be a good idea any
way to reuse entities name for different content if you end up with a single
document.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]