[BioC] placement of DTD files in a package?

Anthony Rossini rossini@u.washington.edu
Wed, 20 Mar 2002 14:19:56 -0800 (PST)


On Wed, 20 Mar 2002, Vincent Carey 525-2265 wrote:

> 
> > So, do DTD files get placed under data or in a completely separate location, for installation purposes?  (i.e. ../package/data, ../package/inst/xml,  or ../package/inst/dtd, or other??)
> >
> 
> i know of no convention on this.  we may not need one.
> package code that uses the DTD will have to be explicit
> about its location.  any of the choices you list may
> be appropriate depending on the visibility and separateness
> of resources desired by the package designer.
>
> does this lead to cacophony in package structure?
> i don't think so.

I think I agree with you.  I don't have strong feelings on the matter, other than if a standard workflow for determination exists, that I might as well use it.  The context is the DTD describing the XML format for a dataset.  I'm tempted to stick it in ../package/inst/dtd, but was wondering how others have dealt with it.  I sent the question here, since the number of package developers using R XML outside of this particular mailing list seems small.

best,
-tony