You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Sean Wheller <se...@inwords.co.za> on 2004/10/28 08:06:35 UTC
Re: parameter entity for globalents.ent (Was: forrest.apache.org/build.html)
On Thursday 28 October 2004 03:09, David Crossley wrote:
> I reckon that it is a good idea. We used to use
> entities at various occasions in the past Forrest.
> When the build was restructured we didn't need that
> approach anymore. Your suggestion is a good use.
>
> Would it be better to use a Public Identifier
> so that the catalog entity resolver can be used?
Yes it can be part of the catalog. Providing that we specify a URI and not
just the filename. The later does not work, as far as I know, under the Java
Resolver.
Where do you think is a good place to put the file and perhaps we should call
it something, any name suggestions?
>
> Would it be better to incorporate this into the
> document-v* DTDs so that we don't need to declare
> it in every xml instance.
Yes the DocTypeDecl must declare it. If we use catalog then, we can point to
it using a ficticious URI. This is a level of abstraction that will enable us
to move it around in the future.
The question is, will this feature be "internal" to the project, or will it
also be a feature across projects?
--
Sean Wheller
Technical Author
sean@inwords.co.za
http://www.inwords.co.za
Re: parameter entity for globalents.ent
Posted by David Crossley <cr...@apache.org>.
Sean Wheller wrote:
> David Crossley wrote:
> > I reckon that it is a good idea. We used to use
> > entities at various occasions in the past Forrest.
> > When the build was restructured we didn't need that
> > approach anymore. Your suggestion is a good use.
> >
> > Would it be better to use a Public Identifier
> > so that the catalog entity resolver can be used?
>
> Yes it can be part of the catalog. Providing that we specify a URI and not
> just the filename. The later does not work, as far as I know, under the Java
> Resolver.
>
> Where do you think is a good place to put the file and perhaps we should call
> it something, any name suggestions?
Let me experiment with this. I will report back.
> > Would it be better to incorporate this into the
> > document-v* DTDs so that we don't need to declare
> > it in every xml instance.
>
> Yes the DocTypeDecl must declare it. If we use catalog then, we can point to
> it using a ficticious URI. This is a level of abstraction that will enable us
> to move it around in the future.
> The question is, will this feature be "internal" to the project, or will it
> also be a feature across projects?
The catalog would make it universally available.
It is a project-based thing, though perhaps the
forrest core can have one too.
--
David Crossley