You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Niall Pemberton <ni...@blueyonder.co.uk> on 2006/03/12 07:17:40 UTC

[digester] DTD dependant rules?

Is it possible to have different digester rules depending on the DTD
declared?

Niall



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [digester] DTD dependant rules?

Posted by Niall Pemberton <ni...@blueyonder.co.uk>.
Thanks for the info .

Niall
----- Original Message ----- 
From: "Craig McClanahan" <cr...@apache.org>
Sent: Sunday, March 12, 2006 6:19 AM


On 3/11/06, Niall Pemberton <ni...@blueyonder.co.uk> wrote:
>
> Is it possible to have different digester rules depending on the DTD
> declared?


I do not believe that is possible :-(.  AFAICT, the JAXP APIs that Digester
uses under the covers do not provide a way to access the DTD (if any) that
was declared at all, let alone before parsing begins.

Niall


Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [digester] DTD dependant rules?

Posted by Craig McClanahan <cr...@apache.org>.
On 3/11/06, Niall Pemberton <ni...@blueyonder.co.uk> wrote:
>
> Is it possible to have different digester rules depending on the DTD
> declared?


I do not believe that is possible :-(.  AFAICT, the JAXP APIs that Digester
uses under the covers do not provide a way to access the DTD (if any) that
was declared at all, let alone before parsing begins.

Niall


Craig


---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>