Re: [xml] recursive entities
- From: Scott Murman <smurman nas nasa gov>
- To: veillard redhat com
- Cc: xml gnome org, "Liam R. E. Quin" <liam holoweb net>
- Subject: Re: [xml] recursive entities
- Date: Sun, 4 Apr 2004 09:51:34 -0700
ok, let's take this further, because i'm definitely not getting the
right functionality. i'm using libxml2-2.6.2. if i use the entity
defs below, then define an element as
<Foo Name="example">
<Bar Init="&Height;" />
</Foo>
this will expand so that Init = "2.0 * &Alt;", not Init = "2.0 * 1.0".
any clues what i'm doing wrong?
-SM-
our group would like to use recursive entity definitions, i.e.
<!DOCTYPE Scenario SYSTEM "Scenario.dtd" [
<!ENTITY Alt "1.0">
<!ENTITY Height "2.0 * &Alt;">
]>
works fine for me with, e.g. xmllint --noent filename.xml
(version here is libxml2-2.6.6-1mdk)
Yeah, I doubt such a breakage would go unnoticed though the
regression tests.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]