You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/05/05 18:42:29 UTC

[sling-org-apache-sling-commons-html] branch master updated: SLING-6783 Updates for Commons HTML

This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-html.git


The following commit(s) were added to refs/heads/master by this push:
     new e728048  SLING-6783 Updates for Commons HTML
e728048 is described below

commit e72804842455fd6281e1f437536ebca533c3886f
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Sat May 5 20:42:11 2018 +0200

    SLING-6783 Updates for Commons HTML
    
    put TagSoup specific features into table
---
 README.md | 30 +++++++++++++-----------------
 1 file changed, 13 insertions(+), 17 deletions(-)

diff --git a/README.md b/README.md
index 1ad5665..fe35505 100644
--- a/README.md
+++ b/README.md
@@ -23,21 +23,17 @@ 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 are
+## TagSoup specific features
 
-*  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).
+| 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). |
+
+  

-- 
To stop receiving notification emails like this one, please contact
olli@apache.org.