6 Mar 2005 04:32
ArgusRecord.xsd Bug?
Chris Keladis <chris <at> cmc.optus.net.au>
2005-03-06 03:32:55 GMT
2005-03-06 03:32:55 GMT
Hi all, I'm trying to work with an XML representation of Argus flow data and am having trouble getting the XSD file to validate correctly. I'm using Xalan & Xerces-C++ to validate the XSD (http://qosient.com/argus/Xml/ArgusRecord.xsd) The error spat out by Xalan is: Error Occurred at file http://qosient.com/argus/Xml/ArgusRecord.xsd , line 214 , column {null}.Value 'Net Unkn' does not match regular expression facet '\c+' SAXParseException: Value 'Net Unkn' does not match regular expression facet '\c+' (http://qosient.com/argus/Xml/ArgusRecord.xsd, line 214, column 44) Some poking about i know where the problem is, i'm not sure about the fix however. A bit before line 214 of ArgusRecord.xsd, we have "<xsd:restriction base = "xsd:NMTOKEN">" for the ICMP codes. A Google search on NMTOKEN turned up this: http://books.xmlschemata.org/relaxng/ch17-77146.html Which says: -------(Continue reading)
RSS Feed