Apache Sling Commons HTML Utilities

Clone this repo:
  1. e680e8f SLING-12094 - Use GitHub for the Maven scm.url value by Robert Munteanu · 8 months ago master
  2. e67e9e1 SLING-11709 - Set up Jira autolinks to all Sling Github projects by Robert Munteanu · 1 year, 2 months ago
  3. ae0b37d SLING-11051 - Fixing JavaDoc badge by Dan Klco · 2 years, 5 months ago
  4. a96db75 SLING-10676 - remove SECURITY.md which is not needed by Bertrand Delacretaz · 2 years, 10 months ago
  5. 5d9b3d8 SLING-10676 - add or update SECURITY.md by Bertrand Delacretaz · 2 years, 10 months ago

Apache Sling

Build Status Test Status Coverage Sonarcloud Status JavaDoc Maven Central Contrib License

Apache Sling Commons HTML Utilities

This module is part of the Apache Sling project.

current settings and their default values

default SAX features are defined here http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html

TagSoup specific features

Feature IDDefaultDescription
http://www.ccil.org/~cowan/tagsoup/features/ignore-bogonsfalseA value of true indicates that the parser will ignore unknown elements.
http://www.ccil.org/~cowan/tagsoup/features/bogons-emptyfalseA value of true indicates that the parser will give unknown elements a content model of EMPTY; a value of false, a content model of ANY.
http://www.ccil.org/~cowan/tagsoup/features/root-bogonstrueA value of `true indicates that the parser will allow unknown elements to be the root of the output document.
http://www.ccil.org/~cowan/tagsoup/features/default-attributestrueA value of true indicates that the parser will return default attribute values for missing attributes that have default values.
http://www.ccil.org/~cowan/tagsoup/features/translate-colonsfalseA value of true indicates that the parser will translate colons into underscores in names.
http://www.ccil.org/~cowan/tagsoup/features/restart-elementstrueA value of true indicates that the parser will attempt to restart the restartable elements.
http://www.ccil.org/~cowan/tagsoup/features/ignorable-whitespacefalseA value of true indicates that the parser will transmit whitespace in element-only content via the SAX ignorableWhitespace callback. Normally this is not done, because HTML is an SGML application and SGML suppresses such whitespace.
http://www.ccil.org/~cowan/tagsoup/features/cdata-elementstrueA value of true indicates that the parser will process the script and style elements (or any elements with type='cdata' in the TSSL schema) as SGML CDATA elements (that is, no markup is recognized except the matching end-tag).