Kent,

On 7/6/05, Kent Tong <[EMAIL PROTECTED]> wrote:
> Achim Hügen <achim.huegen <at> gmx.de> writes:
> 
> However, I still have a question in mind: Why they are called "rules"?
> They don't seem to have any pre-condition at all. They are just
> applied in the order they are listed. Shouldn't they be called
> "actions"?
> 

This is for historical reasons. The mapping from XML to Java objects
was inspired by Digester
(http://jakarta.apache.org/commons/digester/). Here's a snippet from
the description of Digester: "Basically, the Digester package lets you
configure an XML -> Java object mapping module, which triggers certain
actions called rules whenever a particular pattern of nested XML
elements is recognized."

Note the use of "action" in the description.

Regards,

--knut

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to