Skip to main content.
home | support | download

Back to List Archive

Re: Indexing xml files that has another included xml

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Sep 09 2004 - 16:50:22 GMT
On Thu, Sep 09, 2004 at 11:20:02AM -0500, Peter Karman wrote:
> >But, I still get this error:
> >
> >    include.xml:6: error: Entity 'xmlfrag' not defined
> >      &xmlfrag;
> >               ^
> 
> 
> I'm guessing that's because without an <!ENTITY> declaration or some
> external cataloging, libxml2 has nothing to substitute.

The entity is declared:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE article [
    <!ENTITY xmlfrag SYSTEM "other.data" >
]>
<article>
  &xmlfrag;
</article>

> xmllint --noent

Geeze.  Manpagitis.

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Thu Sep 9 09:50:38 2004