Hi all.
I'm currently investigating which XML parser to use, and Xerces seems promising. We are using xml files as the configuration files for running our communication software. What we want to do is give our customer a schema file and Xerces such that they can parse their xml files before starting the system. I've been playing with StdInParse and it catches the problems in the schema file, but gives little detail to help the end user figure out how to correct it. For example, below I have entered a baud rate of 600 which is not supported. The error is caught, but it doesn't say it was for element baud, nor does it indicate what the valid enumerations are. Easy for me to figure out, but not necessarily the end user... Is there an option I can change to display this, or do I have to add some custom code? If so, are there examples of how to add this, or at least where should I be looking? Thanks, chad [EMAIL PROTECTED] xml_parser]$ StdInParse -v=always -s -n -f < personal-schema.xml Error at (file stdin, line 29, char 50): Datatype error: Type:InvalidDatatypeFacetException, Message:Value '-50' must be greater than or equal to MinInclusive '+0' . Error at (file stdin, line 29, char 50): Datatype error: Type:InvalidDatatypeValueException, Message:Value '600' is not in enumeration . ____________________________________________________________ Chad Williamson, B.Sc. CE BOW Networks Inc. Software Developer #200, 550-71 Avenue S.E. TEL: (403) 640-8422 Calgary, Alberta FAX: (403) 253-8979 T2H 0S6 e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
