xml

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsErrNodeReadingFailed

func IsErrNodeReadingFailed(err error) bool

IsErrNodeReadingFailed checks if an err is of ErrNodeReadingFailed type.

func NewReader

func NewReader(inputName string, src io.Reader, xpath string) (*reader, error)

NewReader creates an FormatReader for XML file format.

func NewXMLFileFormat

func NewXMLFileFormat(schemaName string) fileformat.FileFormat

NewXMLFileFormat creates a FileFormat for XML.

Types

type ErrNodeReadingFailed

type ErrNodeReadingFailed string

ErrNodeReadingFailed indicates the reader fails to read out a complete non-corrupted XML element node. This is a fatal, non-continuable error.

func (ErrNodeReadingFailed) Error

func (e ErrNodeReadingFailed) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL