There isn’t a DTD, but there is a reason for that.� Much of the configuration DOM is interpreted arbitrarily by optional pluggable modules (instances of ViewFactory, TransformFactory, etc).� You could create a DTD/XSD which would validate all the known modules, but it would break as soon as someone added a custom module with different configuration…

 

All the common elements (that the Maverick core understands) are documented in the manual, but there comes a point in the XML tree where even the manual has to say “see the javadocs for the particular view/transform/etc factory you are using”.

 

With a DTD, can you define at point in the tree and say “stop validating here”?

 

Jeff Schnitzer

[EMAIL PROTECTED]

 

-----Original Message-----
From: Mougenot Sylvain [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 24, 2002 2:03 AM
To: Liste Maverick (E-mail)
Subject: [Mav-user] is there a DTD for maverick.xml?

 

Is there a DTD for maverick.xml?

 

I'm looking for an existing DTD for maverick.xml config file.

Where can I find one?

 

If there is no DTD I'll build one.



**********************************************************************
Ce message et ses �ventuels fichiers attach�s sont confidentiels
et sont uniquement � l'attention de la personne physique ou morale
destinatrice. Si vous avez re�u ce message par erreur, merci d'en
avertir l'exp�diteur.

Ce bas de page assure �galement que ce message a �t� v�rifi� par un anti-virus
**********************************************************************

Reply via email to