This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XInclude in Cocoon
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] XInclude in Cocoon
- From: Paul Grosso <pgrosso at arbortext dot com>
- Date: Tue, 06 Feb 2001 18:19:37 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
At 23:43 2001 02 06 +0000, Peter Flynn wrote:
>On Tue, 06 Feb 2001, Paul wrote:
>> XML--along with its
>> concept of well-formedness and its companion specs such as
>> Infoset, XInclude, XSLT, XML Schema etc.--has, for better
>> or worse, taken us beyond that.
>
>I'm not sure "beyond" is right. "Beside" is probably closer.
>
>Your description of the process of xinclusion is very useful,
>but when working with some applications there is a requirement
>to conduct some form of checking that the entity being included
>conforms to some kind of known pattern _before_ inclusion
>(or indeed, rejection) takes place, in order to ensure that any
>subsequent process (like applying styles) won't blow up in your
>face because some idiot edited the file with Notepad and got
>a typo in some markup.
Some XML parser has to parse all the entities-to-be-included,
and it sounds like your application should use a validating
parser to do that. That way, each bit would be validated
against its own DTD before inclusion.
paul
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list