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

Re: XML2PO is weird!

Uttered "Paul W. Frields" <stickster gmail com>, spake thus:

> > I wonder who suggested that, it's IMHO close to be broken beyond repair.
> > Asking to modify the structure while preserving parameter entities in
> > the internal subset mean at the same time to maintain the textual serialization
> > and to manipulate the document at the structure level, it is near impossible.
Ah, cognoscenti insight at last.

In terms that even I understand, the problem is that xml2po(1)
strains to handle a construct like this:

	<!ENTITY % FOO SYSTEM "foo.xml">

in the local DTD part of the <DOCTYPE> element; that's the stuff
between the '[]' characters.

Ordinary <!ENTITY> elements, such as:

	<!ENTITY INSERT-ME SYSTEM "/a/b/c.xml">

and then later, in the document proper:


are handled fine. We should be using an <xi:include> for that anyway,
so the document authors need to be given a new practice standard.

Thank you very much for the help; Houston, we have a plan!

I'm already an anomaly, I shall soon be an anachronism, and I have
every intention of dying an abuse!

Attachment: pgp3IcUUGG0E9.pgp
Description: PGP signature

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