RE: attributes required but not both.

2003-02-25 Thread Karr, David
2003 2:02 PM > To: Tag Libraries Users List > Subject: RE: attributes required but not both. > > Cool thanks for the information. One point of clarification after looking > at > the sparse information I could find on the web is: > > Is it best practices to have both attributes ha

RE: attributes required but not both.

2003-02-25 Thread Dave Newton
On Tue, 2003-02-25 at 17:02, Jeff Born wrote: > Is it best practices to have both attributes have a "false" required > attribute and then run isValid() to check if one or the other was supplied? I think you'd have to, otherwise you'd have to decide which one was pseudo-required, and that would pro

RE: attributes required but not both.

2003-02-25 Thread Jeff Born
anks, jb -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Tue 2/25/2003 4:33 PM To: Tag Libraries Users List Cc: Subject: RE: attributes required but not both. Well, if you want to valida

RE: attributes required but not both.

2003-02-25 Thread Karr, David
Well, if you want to validate this at translation time, then I guess a "TagExtraInfo" class would do it. This will have a "isValid()" method, which takes a "TagData" object, which is basically a hashmap of attributes and values. You specify the presence of the TEI class in the TLD. > -Origin