forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: Xinclude and (in)validation
Date Mon, 10 Feb 2003 16:45:29 GMT


Stefano Mazzocchi wrote, On 10/02/2003 17.40:
> Nicola Ken Barozzi wrote:
> 
>>
>> Stefano Mazzocchi wrote, On 10/02/2003 14.17:
>> ...
>>
>>> Can't you pass the docbook dtd into some jclark's tool to generate 
>>> directly relaxng, then validate using that? not a quick hack, I know, 
>>> but that would solve your problems now and forever.
>>
>> Errr, they already have an alpha RelaxNG grammar of Docbook4.2.
>> But does RelaxNG include the fragments of the xinclude before 
>> validating? If not, it's a half-validation...
> 
> 
> You should validate *after* the xinclusion not before. What's the point 
> of validating before inclusion?

That's the point. Xerces does not perform xinclude. Thus it doesn't 
validate (xi is not in the DTD, and as you say it doesn't make sense).

So if RelaxNG is the solution, it has to do the inclusion. Does it? If 
not, why do you suggest it?

%-)

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message