tags:

views:

282

answers:

1

I am writing some JSP 2.x tag files. I have searched for a few hours now, but I was not able to find doctype/schema definitions/dtds for jsp based tag files.

Does anybody knows if there are dtd/schema files to ease the pain of writing those tag files? It's pretty painful to not have auto completion and so on in eclipse. I have to check in the few tutorials I have found when writing tags.

To clarify: I am not talking about java based tags, nor the taglib tld files. I am talking about tag files that consist of jsp code, usually with the ending .tag or tagx and they are located in META-INF/tags or WEB-INF/tags.

Hints are highly appreciated

+4  A: 

Yes there is. Look here

The syntax reference with links to the dtd is here.

Luixv
This seems to be "just" the jsp dtd and doesn't contain the pure "tag" related elements like "tag" and "attribute" that are located at the beginning of the tag file.
Patrick Cornelissen
check the second link I#ve edited. I think this is what you are looking for.
Luixv
Thanks for the second link that is a great resource!
Patrick Cornelissen