# sling-org-apache-sling-commons-html
**Repository Path**: mirrors_apache/sling-org-apache-sling-commons-html
## Basic Information
- **Project Name**: sling-org-apache-sling-commons-html
- **Description**: Apache Sling Commons HTML Utilities
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-22
- **Last Updated**: 2026-02-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://sling.apache.org)
[](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-commons-html/job/master/) [](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-commons-html/job/master/test/?width=800&height=600) [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-commons-html) [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-commons-html) [](https://www.javadoc.io/doc/org.apache.sling/org.apache.sling.commons.html) [](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22org.apache.sling.commons.html%22) [](https://github.com/apache/sling-aggregator/blob/master/docs/status/contrib.md) [](https://www.apache.org/licenses/LICENSE-2.0)
# Apache Sling Commons HTML Utilities
This module is part of the [Apache Sling](https://sling.apache.org) project.
current settings and their default values
* http://xml.org/sax/features/namespaces=true
* http://xml.org/sax/features/namespace-prefixes=false
* http://xml.org/sax/features/external-general-entities=false
* http://xml.org/sax/features/external-parameter-entities=false
* http://xml.org/sax/features/is-standalone=false
* http://xml.org/sax/features/lexical-handler/parameter-entities=false
* http://xml.org/sax/features/resolve-dtd-uris=true
* http://xml.org/sax/features/string-interning=true
* http://xml.org/sax/features/use-attributes2=false
* http://xml.org/sax/features/use-locator2=false
* http://xml.org/sax/features/use-entity-resolver2=false
* http://xml.org/sax/features/validation=false
* http://xml.org/sax/features/xmlns-uris=false
* http://xml.org/sax/features/xmlns-uris=false
* http://xml.org/sax/features/xml-1.1=false
default SAX features are defined here
http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html
## TagSoup specific features
| Feature ID | Default | Description |
| --- | --- | --- |
| `http://www.ccil.org/~cowan/tagsoup/features/ignore-bogons` | `false` | A value of `true` indicates that the parser will ignore unknown elements. |
| `http://www.ccil.org/~cowan/tagsoup/features/bogons-empty` | `false` | A 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-bogons` | `true` | A 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-attributes` | `true` | A 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-colons` | `false` | A value of `true` indicates that the parser will translate colons into underscores in names. |
| `http://www.ccil.org/~cowan/tagsoup/features/restart-elements` | `true` | A value of `true` indicates that the parser will attempt to restart the restartable elements. |
| `http://www.ccil.org/~cowan/tagsoup/features/ignorable-whitespace` | `false` | A 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-elements` | `true` | A 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). |