[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Re: [docbook-apps] xml catalogs
Hi Dave, Tuesday 11 August 2009 > On 11/08/09 18:28, Thomas Schraitle wrote: > [...] > With > > <?xml version="1.0" encoding="latin1" ?> > <!DOCTYPE erlref SYSTEM "erlref.dtd"> > <erlref> </erlref> > > >> The DTD isn't in the same folder as the instance, > >> the parser needs the DTD to resolve the entity, > >> Is this instance > >> a) Well formed > > > > No, see above. > > But it would be, except for my error Yes, if the entity is correct, then the above XML is well-formed. > >> b) Invalid > > > > Yes, because you need a well-formed XML which is not the case, according > > to your example. > > And if the ; was there? That depends on your DTD which I don't know. For example, the following lines make the above XML valid: <!ELEMENT erlref (#PCDATA)> <!ENTITY nbsp " "> Tom
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]