forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <>
Subject Re: problems with relaxng & dtds
Date Wed, 10 Mar 2004 11:58:38 GMT
Dave Brondsema wrote:
> I was working on moving creating a seperate DTD file for skinconfig.  I did 
> that and set up the skinconf.xml files to use it.  However, forrest's build 
> and 'forrest site' had some problems:
> 1) <jing> is used to validate skinconfig files agains the .rnc file we have for

> it.  When I added the DTD declaration at the top, it attempted to download the 
> file (i'm behind a proxy and the files not there, and most importantly we don't 
> want it to do that anyway).  So I changed it to use <xmlvalidate> with an 
> <xmlcatalog> and it worked fine.  So here's the real question: why have relaxng

> schemas at all?  Most editors use DTDs (some support schema now) and I don't 
> know of any that support relaxng.  So we want DTDs as a form of unique 
> identification and versioning; and because editors support them better than 
> other validation formats.  So what are the advantages of having either just 
> relaxng or both relaxng and DTDs.
> 2) <xmlproperty> is used to load the skinconfig file.  When I added the DTD 
> declaration to the skinconfig file, it attempted to download the DTD file.  
> Again, not good.  Turning validation off made no difference.  And the 
> <xmlproperty> task does not support an <xmlcatalog> subelement.  I filed
> enhancement request (  
> I made some code changes to <xmlpropety> so that it supports <xmlcatalog>,
> it didn't seem to use the catalog.  Any ideas?

A while ago Jeff Turner mentioned the DoctypeChanger on xml-commons
mailing list. This is a way to temporarily remove the document type
declaration from the xml instance.


View raw message