Versions in this module Expand all Collapse all v1 v1.0.0 Sep 6, 2019 Changes in this version + func Cleanup() + func Init() error + func InitWithGc(d time.Duration) + type Libxml2Error struct + func (e Libxml2Error) Error() string + func (e Libxml2Error) String() string + type Options uint8 + const ParsErrDefault + const ParsErrVerbose + const ValidErrDefault + type StructError struct + Code int + Level int + Line int + Message string + NodeName string + type ValidationError struct + Errors []StructError + func (e ValidationError) Error() string + func (e ValidationError) String() string + type XmlHandler struct + func NewXmlHandlerMem(inXml []byte, options Options) (*XmlHandler, error) + func (xmlHandler *XmlHandler) Free() + type XmlParserError struct + func (e XmlParserError) Error() string + func (e XmlParserError) String() string + type XsdHandler struct + func NewXsdHandlerMem(inXml []byte, options Options) (*XsdHandler, error) + func NewXsdHandlerUrl(url string, options Options) (*XsdHandler, error) + func (xsdHandler *XsdHandler) Free() + func (xsdHandler *XsdHandler) Validate(xmlHandler *XmlHandler, options Options) error + func (xsdHandler *XsdHandler) ValidateMem(inXml []byte, options Options) error + type XsdParserError struct + func (e XsdParserError) Error() string + func (e XsdParserError) String() string