Versions in this module Expand all Collapse all v1 v1.1.4 Nov 25, 2020 v1.1.3 Nov 25, 2020 Changes in this version + const CDATA_END + const CDATA_START + var InvalidNumericReference = errors.New("invalid numeric reference") + var TruncatedEntity = errors.New("truncated entity") + func DecodeEntities(str string) (string, error) + func IsExtension(p *xpp.XMLPullParser) bool + func NewReaderLabel(label string, input io.Reader) (io.Reader, error) + func NewXMLSanitizerReader(xml io.Reader) io.Reader + func ParseDate(ds string) (t time.Time, err error) + func ParseExtension(fe ext.Extensions, p *xpp.XMLPullParser) (ext.Extensions, error) + func ParseNameAddress(nameAddressText string) (name string, address string) + func ParseText(p *xpp.XMLPullParser) (string, error) + func StripCDATA(str string) string + type XMLBase struct + URIAttrs map[string]bool + func (b *XMLBase) CurrentBase() string + func (b *XMLBase) CurrentBaseURL() *url.URL + func (b *XMLBase) FindRoot(p *xpp.XMLPullParser) (event xpp.XMLEventType, err error) + func (b *XMLBase) NextTag(p *xpp.XMLPullParser) (event xpp.XMLEventType, err error) + func (b *XMLBase) ResolveHTML(relHTML string) (string, error) + func (b *XMLBase) ResolveURL(u string) (string, error)