I posted this on xerces-j-user a couple of days ago, with no replies. Perhaps this list is more appropriate for this question.
> Reading through the source of org.apache.xerces.parsers.DOMParser, > v1.4.3, it appears that those (general) entities that are declared in > the DTD but not referenced in the document are not populated, i.e. they > have no children, regardless of the replacement values specified in the > DTD. Entities are only populated when they are referenced and their > replacement values are reported by the underlying streaming parser. > > Is this observation correct? Is this the case in Xerces2, too? > > I need to be able to hand users an empty document that only has a DTD, > so that when users build their documents, they be able to use entities > (or rather, references to them) as building blocks. Can I do that with > Xerces? > > Ari. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
