Sophie

Sophie

distrib > Mandriva > 10.1 > i586 > by-pkgid > 46d6f8dadfc1f75f919d8dff21cfe031

html-parser-1.02-1jpp.noarch.rpm

Description:

html-parser is a JavaCC grammar for parsing HTML documents. It does not enforce the
DTD, but instead builds a simple parse tree which can be used to validate,
reformat, display, analyze, or edit the HTML document. The goal was to produce
a parse tree which threw away very little information contained in the source
file, so that by dumping the parse tree, an almost identical copy of the input
document would result. The only source information discarded by the parser is
whitespace inside of tags (i.e., the spaces or newlines between the attributes
of a tag.) It is not confused by things that look like tags inside of quoted
strings.

The generated parse tree supports the commonly used "Visitor" design
pattern. Several visitor classes are provided, which do things like dump the
parse tree, restructure the parse tree, etc. Common tasks such as formatting,
validation, or analysis are easily performed as Visitors.

Sources packages:

Other version of this rpm: