[ Jason E. Stewart ]

> I really think you're making a mistake. If you don't check the user's
> input what are you supposed to do when they make a mistake? Are you
> going to output the error from the parser saying: 'Invalid document'
> --> not very helpful. 

Generally I agree, but there are only a handful of people that are
going to use this script. They are expert users and should be able to
give valid data.

A nicer solution would be to use the dtd for manual validation for
each attribute. What's the most elegant way to implement this? I don't
want any data rules in my script so when I check an attribute I have
to do this based on the current dtd.
 
-- 
Lars Preben S. Arnesen
USIT, University of Oslo

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

Reply via email to