You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Brian M Dube <br...@gmail.com> on 2007/04/01 21:49:27 UTC

Editing dispatcher resources

I looked over the documentation about taking advantage of the catalog 
entity resolver in the editing environment [1] and I would like to use 
this to streamline dispatcher structurer, contract, and panel 
development. I tried using find and grep to locate a DTD or schema for 
these resources, but I didn't see anything. Did I miss them or do they 
not exist? It's easy enough to have an editor check that a document is 
well-formed, but I'm after tag completion as well.

Brian

[1]
http://forrest.apache.org/docs_0_80/catalog.html

Re: Editing dispatcher resources

Posted by Thorsten Scherler <th...@apache.org>.
On Tue, 2007-04-03 at 09:27 +1000, David Crossley wrote:
> Brian M Dube wrote:
> > Brian M Dube wrote:
> > >I looked over the documentation about taking advantage of the catalog 
> > >entity resolver in the editing environment [1] and I would like to use 
> > >this to streamline dispatcher structurer, contract, and panel 
> > >development. I tried using find and grep to locate a DTD or schema for 
> > >these resources, but I didn't see anything. Did I miss them or do they 
> > >not exist? It's easy enough to have an editor check that a document is 
> > >well-formed, but I'm after tag completion as well.
> > >
> > >[1]
> > >http://forrest.apache.org/docs_0_80/catalog.html
> > >
> > 
> > I see that nXML mode for Emacs [2] will support end tag insertion 
> > without a schema. This will probably suffice. Other thoughts are welcome.
> > 
> > [2]
> > http://www.thaiopensource.com/nxml-mode/
> 
> No we don't have schema for them.
> 
> Personally, i would prefer that we use RELAX NG,
> but definitely not DTDs. Although we do have the catalog
> entity resolver to assist, it is extra processing during
> parsing that we do not need.
> 
> Anyway, please do discussion about this on the dev list.
> The Dispatcher is still a "dev" topic, and its structure
> can still be evolving.

That is why we never started a schema. IMO the markup of the dispatcher
needs a legacy cleanup before it comes out of the whiteboard. Some names
have changed but the markup does not reflect this. So the schema WILL BE
changed before dispatcher goes prime time.

salu2
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Re: Editing dispatcher resources

Posted by David Crossley <cr...@apache.org>.
Brian M Dube wrote:
> Brian M Dube wrote:
> >I looked over the documentation about taking advantage of the catalog 
> >entity resolver in the editing environment [1] and I would like to use 
> >this to streamline dispatcher structurer, contract, and panel 
> >development. I tried using find and grep to locate a DTD or schema for 
> >these resources, but I didn't see anything. Did I miss them or do they 
> >not exist? It's easy enough to have an editor check that a document is 
> >well-formed, but I'm after tag completion as well.
> >
> >[1]
> >http://forrest.apache.org/docs_0_80/catalog.html
> >
> 
> I see that nXML mode for Emacs [2] will support end tag insertion 
> without a schema. This will probably suffice. Other thoughts are welcome.
> 
> [2]
> http://www.thaiopensource.com/nxml-mode/

No we don't have schema for them.

Personally, i would prefer that we use RELAX NG,
but definitely not DTDs. Although we do have the catalog
entity resolver to assist, it is extra processing during
parsing that we do not need.

Anyway, please do discussion about this on the dev list.
The Dispatcher is still a "dev" topic, and its structure
can still be evolving.

-David

Re: Editing dispatcher resources

Posted by Brian M Dube <br...@gmail.com>.
Brian M Dube wrote:
> I looked over the documentation about taking advantage of the catalog 
> entity resolver in the editing environment [1] and I would like to use 
> this to streamline dispatcher structurer, contract, and panel 
> development. I tried using find and grep to locate a DTD or schema for 
> these resources, but I didn't see anything. Did I miss them or do they 
> not exist? It's easy enough to have an editor check that a document is 
> well-formed, but I'm after tag completion as well.
> 
> Brian
> 
> [1]
> http://forrest.apache.org/docs_0_80/catalog.html
> 

I see that nXML mode for Emacs [2] will support end tag insertion 
without a schema. This will probably suffice. Other thoughts are welcome.

Brian

[2]
http://www.thaiopensource.com/nxml-mode/