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

Re: [xml] PEReferences - tricky and error-prone



On Mon, Jun 03, 2002 at 08:43:05AM -0400, Norman Walsh wrote:
> / "Peter Jacobi" <pj walter-graphtek com> was heard to say:
> | Is the following is valid (current libxml2 votes no, as 
> | does XMLSpy 3.5):
> |
> | t4.xml
> | <?xml version='1.0'?>
> | <!DOCTYPE root SYSTEM 't4.dtd'>
> | <root>&abc;</root>
> |
> | t4.dtd
> | <!ENTITY % percent "&#x25;">
> | <!ENTITY %percent; def "ghi">
> | <!ENTITY abc "%def;">
> | <!ELEMENT root (#PCDATA)>
> |
> | This example tests, whether it is O.K. to have the
> | '%' of an EntitityDecl given by an PEReference.
> 
> Yes, the preceding test is valid, for precisely the sections of the
> REC that you quoted. Whether it represents good and flexible design is
> another question :-)

  Grumpff ... this means libxml2 needs to be fixed :-(
Peter, were you looking at the associated code specifically or is that
just one regression test you happen to found was broken ? Do you think you
can handle it or shall I ?

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]