I must admit that I do not know the answer to your first question - although it could be argued on a VERY superifial level that if POI experienced problems opening the file it was probably not valid - but would have thought that you would need to use a validating XML parser for a task such as this one. I found an interesting article about parsers with a few helpful links here;
http://www.xml.com/pub/a/2000/08/23/whichparser/index.html The schema can be obtained from Microsoft themselves - I downloaded them recently out of sheer curiosity - and I think that this is the correct page; http://www.microsoft.com/downloads/details.aspx?familyid=15805380-f2c0-4b80-9ad1-2cb0c300aef9&displaylang=en Yours Mark B jeff00seattle wrote: > > Hi > > Does POI provide a way to validate if an Excel spreadsheet is > syntactically correct and well-formed? > > If so, then how is it done? > > Curious, is there a standard XML Schema file used to validate OpenXML > Excel files? > > Thanks > > Jeff in Seattle > > -- View this message in context: http://old.nabble.com/Can-POI-Validate-an-Excel-Spreadsheet-%28xslx%29--tp26663079p26663413.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
