commit | 2464bc76bb2573d39d0b4cfc82ccbbcb725fa67f | [log] [tgz] |
---|---|---|
author | Jason E Bailey <jeb@apache.org> | Thu Jan 10 08:11:47 2019 -0500 |
committer | GitHub <noreply@github.com> | Thu Jan 10 08:11:47 2019 -0500 |
tree | 7a87009bbd761d62a54376ff698f3ed258a3b5bb | |
parent | 4aa3a9f36ecb8d80d2b50a43f04d46f3f2b8cce5 [diff] | |
parent | 505fe2e86307883312467d51a0fb543f4e636894 [diff] |
Merge pull request #1 from apache/SLING-3270 Sling 3270
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
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). |