def validate(self): """Validate the CNXML document""" schema_url = 'http://cnx.rice.edu/technology/cnxml/schema/rng/%s/cnxml.rng' % ( self.getVersion()) return XMLService.validate(self.getSource(), schema_url)
def validate(self): """Validate the CNXML document""" return XMLService.validate(self.getSource())
def validate(self): """Validate the CNXML document""" schema_url = 'http://cnx.rice.edu/technology/cnxml/schema/rng/%s/cnxml.rng' % (self.getVersion()) return XMLService.validate(self.getSource(), schema_url)