corinthia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [31/51] [partial] incubator-corinthia git commit: Moved 3rdparty to platform This is the first part of isolating 3rdparty within platform. The idea is that only platform.h should be used outside platform platform.h might contain includes to internal file
Date Sun, 21 Dec 2014 12:35:25 GMT
http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/ac70cb0e/DocFormats/3rdparty/external/w3c-tidy-html5/include/tidyenum.h
----------------------------------------------------------------------
diff --git a/DocFormats/3rdparty/external/w3c-tidy-html5/include/tidyenum.h b/DocFormats/3rdparty/external/w3c-tidy-html5/include/tidyenum.h
deleted file mode 100644
index 6066e3b..0000000
--- a/DocFormats/3rdparty/external/w3c-tidy-html5/include/tidyenum.h
+++ /dev/null
@@ -1,749 +0,0 @@
-#ifndef __TIDYENUM_H__
-#define __TIDYENUM_H__
-
-/* @file tidyenum.h -- Split public enums into separate header
-
-  Simplifies enum re-use in various wrappers.  e.g. SWIG
-  generated wrappers and COM IDL files.
-
-  Copyright (c) 1998-2008 World Wide Web Consortium
-  (Massachusetts Institute of Technology, European Research 
-  Consortium for Informatics and Mathematics, Keio University).
-  All Rights Reserved.
-
-  Contributing Author(s):
-
-     Dave Raggett <dsr@w3.org>
-
-  The contributing author(s) would like to thank all those who
-  helped with testing, bug fixes and suggestions for improvements. 
-  This wouldn't have been possible without your help.
-
-  COPYRIGHT NOTICE:
- 
-  This software and documentation is provided "as is," and
-  the copyright holders and contributing author(s) make no
-  representations or warranties, express or implied, including
-  but not limited to, warranties of merchantability or fitness
-  for any particular purpose or that the use of the software or
-  documentation will not infringe any third party patents,
-  copyrights, trademarks or other rights. 
-
-  The copyright holders and contributing author(s) will not be held
-  liable for any direct, indirect, special or consequential damages
-  arising out of any use of the software or documentation, even if
-  advised of the possibility of such damage.
-
-  Permission is hereby granted to use, copy, modify, and distribute
-  this source code, or portions hereof, documentation and executables,
-  for any purpose, without fee, subject to the following restrictions:
-
-  1. The origin of this source code must not be misrepresented.
-  2. Altered versions must be plainly marked as such and must
-     not be misrepresented as being the original source.
-  3. This Copyright notice may not be removed or altered from any
-     source or altered source distribution.
- 
-  The copyright holders and contributing author(s) specifically
-  permit, without fee, and encourage the use of this source code
-  as a component for supporting the Hypertext Markup Language in
-  commercial products. If you use this source code in a product,
-  acknowledgment is not required but would be appreciated.
-
-
-  Created 2001-05-20 by Charles Reitzel
-  Updated 2002-07-01 by Charles Reitzel - 1st Implementation
-
-*/
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* Enumerate configuration options
-*/
-
-/** Categories of Tidy configuration options
-*/
-typedef enum
-{
-  TidyMarkup,          /**< Markup options: (X)HTML version, etc */
-  TidyDiagnostics,     /**< Diagnostics */
-  TidyPrettyPrint,     /**< Output layout */
-  TidyEncoding,        /**< Character encodings */
-  TidyMiscellaneous    /**< File handling, message format, etc. */
-} TidyConfigCategory;
-
-
-/** Option IDs Used to get/set option values.
-*/
-typedef enum
-{
-  TidyUnknownOption,   /**< Unknown option! */
-  TidyIndentSpaces,    /**< Indentation n spaces */
-  TidyWrapLen,         /**< Wrap margin */
-  TidyTabSize,         /**< Expand tabs to n spaces */
-
-  TidyCharEncoding,    /**< In/out character encoding */
-  TidyInCharEncoding,  /**< Input character encoding (if different) */
-  TidyOutCharEncoding, /**< Output character encoding (if different) */    
-  TidyNewline,         /**< Output line ending (default to platform) */
-
-  TidyDoctypeMode,     /**< See doctype property */
-  TidyDoctype,         /**< User specified doctype */
-
-  TidyDuplicateAttrs,  /**< Keep first or last duplicate attribute */
-  TidyAltText,         /**< Default text for alt attribute */
-  
-  /* obsolete */
-  TidySlideStyle,      /**< Style sheet for slides: not used for anything yet */
-
-  TidyErrFile,         /**< File name to write errors to */
-  TidyOutFile,         /**< File name to write markup to */
-  TidyWriteBack,       /**< If true then output tidied markup */
-  TidyShowMarkup,      /**< If false, normal output is suppressed */
-  TidyShowInfo,        /**< If true, info-level messages are shown */
-  TidyShowWarnings,    /**< However errors are always shown */
-  TidyQuiet,           /**< No 'Parsing X', guessed DTD or summary */
-  TidyIndentContent,   /**< Indent content of appropriate tags */
-                       /**< "auto" does text/block level content indentation */
-  TidyCoerceEndTags,   /**< Coerce end tags from start tags where probably intended */
-  TidyOmitOptionalTags,/**< Suppress optional start tags and end tags */
-  TidyHideEndTags,     /**< Legacy name for TidyOmitOptionalTags */
-  TidyXmlTags,         /**< Treat input as XML */
-  TidyXmlOut,          /**< Create output as XML */
-  TidyXhtmlOut,        /**< Output extensible HTML */
-  TidyHtmlOut,         /**< Output plain HTML, even for XHTML input.
-                           Yes means set explicitly. */
-  TidyXmlDecl,         /**< Add <?xml?> for XML docs */
-  TidyUpperCaseTags,   /**< Output tags in upper not lower case */
-  TidyUpperCaseAttrs,  /**< Output attributes in upper not lower case */
-  TidyMakeBare,        /**< Make bare HTML: remove Microsoft cruft */
-  TidyMakeClean,       /**< Replace presentational clutter by style rules */
-  TidyGDocClean,       /**< Clean up HTML exported from Google Docs */
-  TidyLogicalEmphasis, /**< Replace i by em and b by strong */
-  TidyDropPropAttrs,   /**< Discard proprietary attributes */
-  TidyDropFontTags,    /**< Discard presentation tags */
-  TidyDropEmptyElems,  /**< Discard empty elements */
-  TidyDropEmptyParas,  /**< Discard empty p elements */
-  TidyFixComments,     /**< Fix comments with adjacent hyphens */
-  TidyBreakBeforeBR,   /**< Output newline before <br> or not? */
-
-  /* obsolete */
-  TidyBurstSlides,     /**< Create slides on each h2 element */
-
-  TidyNumEntities,     /**< Use numeric entities */
-  TidyQuoteMarks,      /**< Output " marks as &quot; */
-  TidyQuoteNbsp,       /**< Output non-breaking space as entity */
-  TidyQuoteAmpersand,  /**< Output naked ampersand as &amp; */
-  TidyWrapAttVals,     /**< Wrap within attribute values */
-  TidyWrapScriptlets,  /**< Wrap within JavaScript string literals */
-  TidyWrapSection,     /**< Wrap within <![ ... ]> section tags */
-  TidyWrapAsp,         /**< Wrap within ASP pseudo elements */
-  TidyWrapJste,        /**< Wrap within JSTE pseudo elements */
-  TidyWrapPhp,         /**< Wrap within PHP pseudo elements */
-  TidyFixBackslash,    /**< Fix URLs by replacing \ with / */
-  TidyIndentAttributes,/**< Newline+indent before each attribute */
-  TidyXmlPIs,          /**< If set to yes PIs must end with ?> */
-  TidyXmlSpace,        /**< If set to yes adds xml:space attr as needed */
-  TidyEncloseBodyText, /**< If yes text at body is wrapped in P's */
-  TidyEncloseBlockText,/**< If yes text in blocks is wrapped in P's */
-  TidyKeepFileTimes,   /**< If yes last modied time is preserved */
-  TidyWord2000,        /**< Draconian cleaning for Word2000 */
-  TidyMark,            /**< Add meta element indicating tidied doc */
-  TidyEmacs,           /**< If true format error output for GNU Emacs */
-  TidyEmacsFile,       /**< Name of current Emacs file */
-  TidyLiteralAttribs,  /**< If true attributes may use newlines */
-  TidyBodyOnly,        /**< Output BODY content only */
-  TidyFixUri,          /**< Applies URI encoding if necessary */
-  TidyLowerLiterals,   /**< Folds known attribute values to lower case */
-  TidyHideComments,    /**< Hides all (real) comments in output */
-  TidyIndentCdata,     /**< Indent <!CDATA[ ... ]]> section */
-  TidyForceOutput,     /**< Output document even if errors were found */
-  TidyShowErrors,      /**< Number of errors to put out */
-  TidyAsciiChars,      /**< Convert quotes and dashes to nearest ASCII char */
-  TidyJoinClasses,     /**< Join multiple class attributes */
-  TidyJoinStyles,      /**< Join multiple style attributes */
-  TidyEscapeCdata,     /**< Replace <![CDATA[]]> sections with escaped text */
-
-#if SUPPORT_ASIAN_ENCODINGS
-  TidyLanguage,        /**< Language property: not used for anything yet */
-  TidyNCR,             /**< Allow numeric character references */
-#else
-  TidyLanguageNotUsed,
-  TidyNCRNotUsed,
-#endif
-#if SUPPORT_UTF16_ENCODINGS
-  TidyOutputBOM,      /**< Output a Byte Order Mark (BOM) for UTF-16 encodings */
-                      /**< auto: if input stream has BOM, we output a BOM */
-#else
-  TidyOutputBOMNotUsed,
-#endif
-
-  TidyReplaceColor,    /**< Replace hex color attribute values with names */
-  TidyCSSPrefix,       /**< CSS class naming for -clean option */
-
-  TidyInlineTags,      /**< Declared inline tags */
-  TidyBlockTags,       /**< Declared block tags */
-  TidyEmptyTags,       /**< Declared empty tags */
-  TidyPreTags,         /**< Declared pre tags */
-
-  TidyAccessibilityCheckLevel, /**< Accessibility check level 
-                                   0 (old style), or 1, 2, 3 */
-
-  TidyVertSpace,       /**< degree to which markup is spread out vertically */
-#if SUPPORT_ASIAN_ENCODINGS
-  TidyPunctWrap,       /**< consider punctuation and breaking spaces for wrapping */
-#else
-  TidyPunctWrapNotUsed,
-#endif
-  TidyMergeEmphasis,       /**< Merge nested B and I elements */
-  TidyMergeDivs,       /**< Merge multiple DIVs */
-  TidyDecorateInferredUL,  /**< Mark inferred UL elements with no indent CSS */
-  TidyPreserveEntities,    /**< Preserve entities */
-  TidySortAttributes,      /**< Sort attributes */
-  TidyMergeSpans,       /**< Merge multiple SPANs */
-  TidyAnchorAsName,    /**< Define anchors as name attributes */
-  N_TIDY_OPTIONS       /**< Must be last */
-} TidyOptionId;
-
-/** Option data types
-*/
-typedef enum
-{
-  TidyString,          /**< String */
-  TidyInteger,         /**< Integer or enumeration */
-  TidyBoolean          /**< Boolean flag */
-} TidyOptionType;
-
-
-/** AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM
-*/
-typedef enum
-{
-   TidyNoState,     /**< maps to 'no' */
-   TidyYesState,    /**< maps to 'yes' */
-   TidyAutoState    /**< Automatic */
-} TidyTriState;
-
-/** TidyNewline option values to control output line endings.
-*/
-typedef enum
-{
-    TidyLF,         /**< Use Unix style: LF */
-    TidyCRLF,       /**< Use DOS/Windows style: CR+LF */
-    TidyCR          /**< Use Macintosh style: CR */
-} TidyLineEnding;
-
-
-/** Mode controlling treatment of doctype
-*/
-typedef enum
-{
-    TidyDoctypeHtml5,   /**< <!DOCTYPE html> */
-    TidyDoctypeOmit,    /**< Omit DOCTYPE altogether */
-    TidyDoctypeAuto,    /**< Keep DOCTYPE in input.  Set version to content */
-    TidyDoctypeStrict,  /**< Convert document to HTML 4 strict content model */
-    TidyDoctypeLoose,   /**< Convert document to HTML 4 transitional
-                             content model */
-    TidyDoctypeUser     /**< Set DOCTYPE FPI explicitly */
-} TidyDoctypeModes;
-
-/** Mode controlling treatment of duplicate Attributes
-*/
-typedef enum
-{
-    TidyKeepFirst,
-    TidyKeepLast
-} TidyDupAttrModes;
-
-/** Mode controlling treatment of sorting attributes
-*/
-typedef enum
-{
-    TidySortAttrNone,
-    TidySortAttrAlpha
-} TidyAttrSortStrategy;
-
-/* I/O and Message handling interface
-**
-** By default, Tidy will define, create and use 
-** instances of input and output handlers for 
-** standard C buffered I/O (i.e. FILE* stdin,
-** FILE* stdout and FILE* stderr for content
-** input, content output and diagnostic output,
-** respectively.  A FILE* cfgFile input handler
-** will be used for config files.  Command line
-** options will just be set directly.
-*/
-
-/** Message severity level
-*/
-typedef enum 
-{
-  TidyInfo,             /**< Information about markup usage */
-  TidyWarning,          /**< Warning message */
-  TidyConfig,           /**< Configuration error */
-  TidyAccess,           /**< Accessibility message */
-  TidyError,            /**< Error message - output suppressed */
-  TidyBadDocument,      /**< I/O or file system error */
-  TidyFatal             /**< Crash! */
-} TidyReportLevel;
-
-
-/* Document tree traversal functions
-*/
-
-/** Node types
-*/
-typedef enum 
-{
-  TidyNode_Root,        /**< Root */
-  TidyNode_DocType,     /**< DOCTYPE */
-  TidyNode_Comment,     /**< Comment */
-  TidyNode_ProcIns,     /**< Processing Instruction */
-  TidyNode_Text,        /**< Text */
-  TidyNode_Start,       /**< Start Tag */
-  TidyNode_End,         /**< End Tag */
-  TidyNode_StartEnd,    /**< Start/End (empty) Tag */
-  TidyNode_CDATA,       /**< Unparsed Text */
-  TidyNode_Section,     /**< XML Section */
-  TidyNode_Asp,         /**< ASP Source */
-  TidyNode_Jste,        /**< JSTE Source */
-  TidyNode_Php,         /**< PHP Source */
-  TidyNode_XmlDecl      /**< XML Declaration */
-} TidyNodeType;
-
-
-/** Known HTML element types
-*/
-typedef enum
-{
-  TidyTag_UNKNOWN,  /**< Unknown tag! */
-  TidyTag_A,        /**< A */
-  TidyTag_ABBR,     /**< ABBR */
-  TidyTag_ACRONYM,  /**< ACRONYM */
-  TidyTag_ADDRESS,  /**< ADDRESS */
-  TidyTag_ALIGN,    /**< ALIGN */
-  TidyTag_APPLET,   /**< APPLET */
-  TidyTag_AREA,     /**< AREA */
-  TidyTag_B,        /**< B */
-  TidyTag_BASE,     /**< BASE */
-  TidyTag_BASEFONT, /**< BASEFONT */
-  TidyTag_BDO,      /**< BDO */
-  TidyTag_BGSOUND,  /**< BGSOUND */
-  TidyTag_BIG,      /**< BIG */
-  TidyTag_BLINK,    /**< BLINK */
-  TidyTag_BLOCKQUOTE,   /**< BLOCKQUOTE */
-  TidyTag_BODY,     /**< BODY */
-  TidyTag_BR,       /**< BR */
-  TidyTag_BUTTON,   /**< BUTTON */
-  TidyTag_CAPTION,  /**< CAPTION */
-  TidyTag_CENTER,   /**< CENTER */
-  TidyTag_CITE,     /**< CITE */
-  TidyTag_CODE,     /**< CODE */
-  TidyTag_COL,      /**< COL */
-  TidyTag_COLGROUP, /**< COLGROUP */
-  TidyTag_COMMENT,  /**< COMMENT */
-  TidyTag_DD,       /**< DD */
-  TidyTag_DEL,      /**< DEL */
-  TidyTag_DFN,      /**< DFN */
-  TidyTag_DIR,      /**< DIR */
-  TidyTag_DIV,      /**< DIF */
-  TidyTag_DL,       /**< DL */
-  TidyTag_DT,       /**< DT */
-  TidyTag_EM,       /**< EM */
-  TidyTag_EMBED,    /**< EMBED */
-  TidyTag_FIELDSET, /**< FIELDSET */
-  TidyTag_FONT,     /**< FONT */
-  TidyTag_FORM,     /**< FORM */
-  TidyTag_FRAME,    /**< FRAME */
-  TidyTag_FRAMESET, /**< FRAMESET */
-  TidyTag_H1,       /**< H1 */
-  TidyTag_H2,       /**< H2 */
-  TidyTag_H3,       /**< H3 */
-  TidyTag_H4,       /**< H4 */
-  TidyTag_H5,       /**< H5 */
-  TidyTag_H6,       /**< H6 */
-  TidyTag_HEAD,     /**< HEAD */
-  TidyTag_HR,       /**< HR */
-  TidyTag_HTML,     /**< HTML */
-  TidyTag_I,        /**< I */
-  TidyTag_IFRAME,   /**< IFRAME */
-  TidyTag_ILAYER,   /**< ILAYER */
-  TidyTag_IMG,      /**< IMG */
-  TidyTag_INPUT,    /**< INPUT */
-  TidyTag_INS,      /**< INS */
-  TidyTag_ISINDEX,  /**< ISINDEX */
-  TidyTag_KBD,      /**< KBD */
-  TidyTag_KEYGEN,   /**< KEYGEN */
-  TidyTag_LABEL,    /**< LABEL */
-  TidyTag_LAYER,    /**< LAYER */
-  TidyTag_LEGEND,   /**< LEGEND */
-  TidyTag_LI,       /**< LI */
-  TidyTag_LINK,     /**< LINK */
-  TidyTag_LISTING,  /**< LISTING */
-  TidyTag_MAP,      /**< MAP */
-  TidyTag_MARQUEE,  /**< MARQUEE */
-  TidyTag_MENU,     /**< MENU */
-  TidyTag_META,     /**< META */
-  TidyTag_MULTICOL, /**< MULTICOL */
-  TidyTag_NOBR,     /**< NOBR */
-  TidyTag_NOEMBED,  /**< NOEMBED */
-  TidyTag_NOFRAMES, /**< NOFRAMES */
-  TidyTag_NOLAYER,  /**< NOLAYER */
-  TidyTag_NOSAVE,   /**< NOSAVE */
-  TidyTag_NOSCRIPT, /**< NOSCRIPT */
-  TidyTag_OBJECT,   /**< OBJECT */
-  TidyTag_OL,       /**< OL */
-  TidyTag_OPTGROUP, /**< OPTGROUP */
-  TidyTag_OPTION,   /**< OPTION */
-  TidyTag_P,        /**< P */
-  TidyTag_PARAM,    /**< PARAM */
-  TidyTag_PLAINTEXT,/**< PLAINTEXT */
-  TidyTag_PRE,      /**< PRE */
-  TidyTag_Q,        /**< Q */
-  TidyTag_RB,       /**< RB */
-  TidyTag_RBC,      /**< RBC */
-  TidyTag_RP,       /**< RP */
-  TidyTag_RT,       /**< RT */
-  TidyTag_RTC,      /**< RTC */
-  TidyTag_RUBY,     /**< RUBY */
-  TidyTag_S,        /**< S */
-  TidyTag_SAMP,     /**< SAMP */
-  TidyTag_SCRIPT,   /**< SCRIPT */
-  TidyTag_SELECT,   /**< SELECT */
-  TidyTag_SERVER,   /**< SERVER */
-  TidyTag_SERVLET,  /**< SERVLET */
-  TidyTag_SMALL,    /**< SMALL */
-  TidyTag_SPACER,   /**< SPACER */
-  TidyTag_SPAN,     /**< SPAN */
-  TidyTag_STRIKE,   /**< STRIKE */
-  TidyTag_STRONG,   /**< STRONG */
-  TidyTag_STYLE,    /**< STYLE */
-  TidyTag_SUB,      /**< SUB */
-  TidyTag_SUP,      /**< SUP */
-  TidyTag_TABLE,    /**< TABLE */
-  TidyTag_TBODY,    /**< TBODY */
-  TidyTag_TD,       /**< TD */
-  TidyTag_TEXTAREA, /**< TEXTAREA */
-  TidyTag_TFOOT,    /**< TFOOT */
-  TidyTag_TH,       /**< TH */
-  TidyTag_THEAD,    /**< THEAD */
-  TidyTag_TITLE,    /**< TITLE */
-  TidyTag_TR,       /**< TR */
-  TidyTag_TT,       /**< TT */
-  TidyTag_U,        /**< U */
-  TidyTag_UL,       /**< UL */
-  TidyTag_VAR,      /**< VAR */
-  TidyTag_WBR,      /**< WBR */
-  TidyTag_XMP,      /**< XMP */
-  TidyTag_NEXTID,   /**< NEXTID */
-
-  TidyTag_ARTICLE,
-  TidyTag_ASIDE,
-  TidyTag_AUDIO,
-  TidyTag_CANVAS,
-  TidyTag_COMMAND,
-  TidyTag_DATALIST,
-  TidyTag_DETAILS,
-  TidyTag_FIGCAPTION,
-  TidyTag_FIGURE,
-  TidyTag_FOOTER,
-  TidyTag_HEADER,
-  TidyTag_HGROUP,
-  TidyTag_MARK,
-  TidyTag_METER,
-  TidyTag_NAV,
-  TidyTag_OUTPUT,
-  TidyTag_PROGRESS,
-  TidyTag_SECTION,
-  TidyTag_SOURCE,
-  TidyTag_SUMMARY,
-  TidyTag_TIME,
-  TidyTag_TRACK,
-  TidyTag_VIDEO,
-
-  N_TIDY_TAGS       /**< Must be last */
-} TidyTagId;
-
-/* Attribute interrogation
-*/
-
-/** Known HTML attributes
-*/
-typedef enum
-{
-  TidyAttr_UNKNOWN,           /**< UNKNOWN= */
-  TidyAttr_ABBR,              /**< ABBR= */
-  TidyAttr_ACCEPT,            /**< ACCEPT= */
-  TidyAttr_ACCEPT_CHARSET,    /**< ACCEPT_CHARSET= */
-  TidyAttr_ACCESSKEY,         /**< ACCESSKEY= */
-  TidyAttr_ACTION,            /**< ACTION= */
-  TidyAttr_ADD_DATE,          /**< ADD_DATE= */
-  TidyAttr_ALIGN,             /**< ALIGN= */
-  TidyAttr_ALINK,             /**< ALINK= */
-  TidyAttr_ALT,               /**< ALT= */
-  TidyAttr_ARCHIVE,           /**< ARCHIVE= */
-  TidyAttr_AXIS,              /**< AXIS= */
-  TidyAttr_BACKGROUND,        /**< BACKGROUND= */
-  TidyAttr_BGCOLOR,           /**< BGCOLOR= */
-  TidyAttr_BGPROPERTIES,      /**< BGPROPERTIES= */
-  TidyAttr_BORDER,            /**< BORDER= */
-  TidyAttr_BORDERCOLOR,       /**< BORDERCOLOR= */
-  TidyAttr_BOTTOMMARGIN,      /**< BOTTOMMARGIN= */
-  TidyAttr_CELLPADDING,       /**< CELLPADDING= */
-  TidyAttr_CELLSPACING,       /**< CELLSPACING= */
-  TidyAttr_CHAR,              /**< CHAR= */
-  TidyAttr_CHAROFF,           /**< CHAROFF= */
-  TidyAttr_CHARSET,           /**< CHARSET= */
-  TidyAttr_CHECKED,           /**< CHECKED= */
-  TidyAttr_CITE,              /**< CITE= */
-  TidyAttr_CLASS,             /**< CLASS= */
-  TidyAttr_CLASSID,           /**< CLASSID= */
-  TidyAttr_CLEAR,             /**< CLEAR= */
-  TidyAttr_CODE,              /**< CODE= */
-  TidyAttr_CODEBASE,          /**< CODEBASE= */
-  TidyAttr_CODETYPE,          /**< CODETYPE= */
-  TidyAttr_COLOR,             /**< COLOR= */
-  TidyAttr_COLS,              /**< COLS= */
-  TidyAttr_COLSPAN,           /**< COLSPAN= */
-  TidyAttr_COMPACT,           /**< COMPACT= */
-  TidyAttr_CONTENT,           /**< CONTENT= */
-  TidyAttr_COORDS,            /**< COORDS= */
-  TidyAttr_DATA,              /**< DATA= */
-  TidyAttr_DATAFLD,           /**< DATAFLD= */
-  TidyAttr_DATAFORMATAS,      /**< DATAFORMATAS= */
-  TidyAttr_DATAPAGESIZE,      /**< DATAPAGESIZE= */
-  TidyAttr_DATASRC,           /**< DATASRC= */
-  TidyAttr_DATETIME,          /**< DATETIME= */
-  TidyAttr_DECLARE,           /**< DECLARE= */
-  TidyAttr_DEFER,             /**< DEFER= */
-  TidyAttr_DIR,               /**< DIR= */
-  TidyAttr_DISABLED,          /**< DISABLED= */
-  TidyAttr_ENCODING,          /**< ENCODING= */
-  TidyAttr_ENCTYPE,           /**< ENCTYPE= */
-  TidyAttr_FACE,              /**< FACE= */
-  TidyAttr_FOR,               /**< FOR= */
-  TidyAttr_FRAME,             /**< FRAME= */
-  TidyAttr_FRAMEBORDER,       /**< FRAMEBORDER= */
-  TidyAttr_FRAMESPACING,      /**< FRAMESPACING= */
-  TidyAttr_GRIDX,             /**< GRIDX= */
-  TidyAttr_GRIDY,             /**< GRIDY= */
-  TidyAttr_HEADERS,           /**< HEADERS= */
-  TidyAttr_HEIGHT,            /**< HEIGHT= */
-  TidyAttr_HREF,              /**< HREF= */
-  TidyAttr_HREFLANG,          /**< HREFLANG= */
-  TidyAttr_HSPACE,            /**< HSPACE= */
-  TidyAttr_HTTP_EQUIV,        /**< HTTP_EQUIV= */
-  TidyAttr_ID,                /**< ID= */
-  TidyAttr_ISMAP,             /**< ISMAP= */
-  TidyAttr_ITEMPROP,          /**< ITEMPROP= */
-  TidyAttr_LABEL,             /**< LABEL= */
-  TidyAttr_LANG,              /**< LANG= */
-  TidyAttr_LANGUAGE,          /**< LANGUAGE= */
-  TidyAttr_LAST_MODIFIED,     /**< LAST_MODIFIED= */
-  TidyAttr_LAST_VISIT,        /**< LAST_VISIT= */
-  TidyAttr_LEFTMARGIN,        /**< LEFTMARGIN= */
-  TidyAttr_LINK,              /**< LINK= */
-  TidyAttr_LONGDESC,          /**< LONGDESC= */
-  TidyAttr_LOWSRC,            /**< LOWSRC= */
-  TidyAttr_MARGINHEIGHT,      /**< MARGINHEIGHT= */
-  TidyAttr_MARGINWIDTH,       /**< MARGINWIDTH= */
-  TidyAttr_MAXLENGTH,         /**< MAXLENGTH= */
-  TidyAttr_MEDIA,             /**< MEDIA= */
-  TidyAttr_METHOD,            /**< METHOD= */
-  TidyAttr_MULTIPLE,          /**< MULTIPLE= */
-  TidyAttr_NAME,              /**< NAME= */
-  TidyAttr_NOHREF,            /**< NOHREF= */
-  TidyAttr_NORESIZE,          /**< NORESIZE= */
-  TidyAttr_NOSHADE,           /**< NOSHADE= */
-  TidyAttr_NOWRAP,            /**< NOWRAP= */
-  TidyAttr_OBJECT,            /**< OBJECT= */
-  TidyAttr_OnAFTERUPDATE,     /**< OnAFTERUPDATE= */
-  TidyAttr_OnBEFOREUNLOAD,    /**< OnBEFOREUNLOAD= */
-  TidyAttr_OnBEFOREUPDATE,    /**< OnBEFOREUPDATE= */
-  TidyAttr_OnBLUR,            /**< OnBLUR= */
-  TidyAttr_OnCHANGE,          /**< OnCHANGE= */
-  TidyAttr_OnCLICK,           /**< OnCLICK= */
-  TidyAttr_OnDATAAVAILABLE,   /**< OnDATAAVAILABLE= */
-  TidyAttr_OnDATASETCHANGED,  /**< OnDATASETCHANGED= */
-  TidyAttr_OnDATASETCOMPLETE, /**< OnDATASETCOMPLETE= */
-  TidyAttr_OnDBLCLICK,        /**< OnDBLCLICK= */
-  TidyAttr_OnERRORUPDATE,     /**< OnERRORUPDATE= */
-  TidyAttr_OnFOCUS,           /**< OnFOCUS= */
-  TidyAttr_OnKEYDOWN,         /**< OnKEYDOWN= */
-  TidyAttr_OnKEYPRESS,        /**< OnKEYPRESS= */
-  TidyAttr_OnKEYUP,           /**< OnKEYUP= */
-  TidyAttr_OnLOAD,            /**< OnLOAD= */
-  TidyAttr_OnMOUSEDOWN,       /**< OnMOUSEDOWN= */
-  TidyAttr_OnMOUSEMOVE,       /**< OnMOUSEMOVE= */
-  TidyAttr_OnMOUSEOUT,        /**< OnMOUSEOUT= */
-  TidyAttr_OnMOUSEOVER,       /**< OnMOUSEOVER= */
-  TidyAttr_OnMOUSEUP,         /**< OnMOUSEUP= */
-  TidyAttr_OnRESET,           /**< OnRESET= */
-  TidyAttr_OnROWENTER,        /**< OnROWENTER= */
-  TidyAttr_OnROWEXIT,         /**< OnROWEXIT= */
-  TidyAttr_OnSELECT,          /**< OnSELECT= */
-  TidyAttr_OnSUBMIT,          /**< OnSUBMIT= */
-  TidyAttr_OnUNLOAD,          /**< OnUNLOAD= */
-  TidyAttr_PROFILE,           /**< PROFILE= */
-  TidyAttr_PROMPT,            /**< PROMPT= */
-  TidyAttr_RBSPAN,            /**< RBSPAN= */
-  TidyAttr_READONLY,          /**< READONLY= */
-  TidyAttr_REL,               /**< REL= */
-  TidyAttr_REV,               /**< REV= */
-  TidyAttr_RIGHTMARGIN,       /**< RIGHTMARGIN= */
-  TidyAttr_ROWS,              /**< ROWS= */
-  TidyAttr_ROWSPAN,           /**< ROWSPAN= */
-  TidyAttr_RULES,             /**< RULES= */
-  TidyAttr_SCHEME,            /**< SCHEME= */
-  TidyAttr_SCOPE,             /**< SCOPE= */
-  TidyAttr_SCROLLING,         /**< SCROLLING= */
-  TidyAttr_SELECTED,          /**< SELECTED= */
-  TidyAttr_SHAPE,             /**< SHAPE= */
-  TidyAttr_SHOWGRID,          /**< SHOWGRID= */
-  TidyAttr_SHOWGRIDX,         /**< SHOWGRIDX= */
-  TidyAttr_SHOWGRIDY,         /**< SHOWGRIDY= */
-  TidyAttr_SIZE,              /**< SIZE= */
-  TidyAttr_SPAN,              /**< SPAN= */
-  TidyAttr_SRC,               /**< SRC= */
-  TidyAttr_STANDBY,           /**< STANDBY= */
-  TidyAttr_START,             /**< START= */
-  TidyAttr_STYLE,             /**< STYLE= */
-  TidyAttr_SUMMARY,           /**< SUMMARY= */
-  TidyAttr_TABINDEX,          /**< TABINDEX= */
-  TidyAttr_TARGET,            /**< TARGET= */
-  TidyAttr_TEXT,              /**< TEXT= */
-  TidyAttr_TITLE,             /**< TITLE= */
-  TidyAttr_TOPMARGIN,         /**< TOPMARGIN= */
-  TidyAttr_TYPE,              /**< TYPE= */
-  TidyAttr_USEMAP,            /**< USEMAP= */
-  TidyAttr_VALIGN,            /**< VALIGN= */
-  TidyAttr_VALUE,             /**< VALUE= */
-  TidyAttr_VALUETYPE,         /**< VALUETYPE= */
-  TidyAttr_VERSION,           /**< VERSION= */
-  TidyAttr_VLINK,             /**< VLINK= */
-  TidyAttr_VSPACE,            /**< VSPACE= */
-  TidyAttr_WIDTH,             /**< WIDTH= */
-  TidyAttr_WRAP,              /**< WRAP= */
-  TidyAttr_XML_LANG,          /**< XML_LANG= */
-  TidyAttr_XML_SPACE,         /**< XML_SPACE= */
-  TidyAttr_XMLNS,             /**< XMLNS= */
-
-  TidyAttr_EVENT,             /**< EVENT= */
-  TidyAttr_METHODS,           /**< METHODS= */
-  TidyAttr_N,                 /**< N= */
-  TidyAttr_SDAFORM,           /**< SDAFORM= */
-  TidyAttr_SDAPREF,           /**< SDAPREF= */
-  TidyAttr_SDASUFF,           /**< SDASUFF= */
-  TidyAttr_URN,               /**< URN= */
-
-  TidyAttr_ASYNC,
-  TidyAttr_AUTOCOMPLETE,
-  TidyAttr_AUTOFOCUS,
-  TidyAttr_AUTOPLAY,
-  TidyAttr_CHALLENGE,
-  TidyAttr_CONTENTEDITABLE,
-  TidyAttr_CONTEXTMENU,
-  TidyAttr_CONTROLS,
-  TidyAttr_DEFAULT,
-  TidyAttr_DIRNAME,
-  TidyAttr_DRAGGABLE,
-  TidyAttr_DROPZONE,
-  TidyAttr_FORM,
-  TidyAttr_FORMACTION,
-  TidyAttr_FORMENCTYPE,
-  TidyAttr_FORMMETHOD,
-  TidyAttr_FORMNOVALIDATE,
-  TidyAttr_FORMTARGET,
-  TidyAttr_HIDDEN,
-  TidyAttr_HIGH,
-  TidyAttr_ICON,
-  TidyAttr_KEYTYPE,
-  TidyAttr_KIND,
-  TidyAttr_LIST,
-  TidyAttr_LOOP,
-  TidyAttr_LOW,
-  TidyAttr_MANIFEST,
-  TidyAttr_MAX,
-  TidyAttr_MEDIAGROUP,
-  TidyAttr_MIN,
-  TidyAttr_NOVALIDATE,
-  TidyAttr_OPEN,
-  TidyAttr_OPTIMUM,
-  TidyAttr_OnABORT,
-  TidyAttr_OnAFTERPRINT,
-  TidyAttr_OnBEFOREPRINT,
-  TidyAttr_OnCANPLAY,
-  TidyAttr_OnCANPLAYTHROUGH,
-  TidyAttr_OnCONTEXTMENU,
-  TidyAttr_OnCUECHANGE,
-  TidyAttr_OnDRAG,
-  TidyAttr_OnDRAGEND,
-  TidyAttr_OnDRAGENTER,
-  TidyAttr_OnDRAGLEAVE,
-  TidyAttr_OnDRAGOVER,
-  TidyAttr_OnDRAGSTART,
-  TidyAttr_OnDROP,
-  TidyAttr_OnDURATIONCHANGE,
-  TidyAttr_OnEMPTIED,
-  TidyAttr_OnENDED,
-  TidyAttr_OnERROR,
-  TidyAttr_OnHASHCHANGE,
-  TidyAttr_OnINPUT,
-  TidyAttr_OnINVALID,
-  TidyAttr_OnLOADEDDATA,
-  TidyAttr_OnLOADEDMETADATA,
-  TidyAttr_OnLOADSTART,
-  TidyAttr_OnMESSAGE,
-  TidyAttr_OnMOUSEWHEEL,
-  TidyAttr_OnOFFLINE,
-  TidyAttr_OnONLINE,
-  TidyAttr_OnPAGEHIDE,
-  TidyAttr_OnPAGESHOW,
-  TidyAttr_OnPAUSE,
-  TidyAttr_OnPLAY,
-  TidyAttr_OnPLAYING,
-  TidyAttr_OnPOPSTATE,
-  TidyAttr_OnPROGRESS,
-  TidyAttr_OnRATECHANGE,
-  TidyAttr_OnREADYSTATECHANGE,
-  TidyAttr_OnREDO,
-  TidyAttr_OnRESIZE,
-  TidyAttr_OnSCROLL,
-  TidyAttr_OnSEEKED,
-  TidyAttr_OnSEEKING,
-  TidyAttr_OnSHOW,
-  TidyAttr_OnSTALLED,
-  TidyAttr_OnSTORAGE,
-  TidyAttr_OnSUSPEND,
-  TidyAttr_OnTIMEUPDATE,
-  TidyAttr_OnUNDO,
-  TidyAttr_OnVOLUMECHANGE,
-  TidyAttr_OnWAITING,
-  TidyAttr_PATTERN,
-  TidyAttr_PLACEHOLDER,
-  TidyAttr_POSTER,
-  TidyAttr_PRELOAD,
-  TidyAttr_PUBDATE,
-  TidyAttr_RADIOGROUP,
-  TidyAttr_REQUIRED,
-  TidyAttr_REVERSED,
-  TidyAttr_SANDBOX,
-  TidyAttr_SCOPED,
-  TidyAttr_SEAMLESS,
-  TidyAttr_SIZES,
-  TidyAttr_SPELLCHECK,
-  TidyAttr_SRCDOC,
-  TidyAttr_SRCLANG,
-  TidyAttr_STEP,
-
-
-  N_TIDY_ATTRIBS              /**< Must be last */
-} TidyAttrId;
-
-#ifdef __cplusplus
-}  /* extern "C" */
-#endif
-#endif /* __TIDYENUM_H__ */

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/ac70cb0e/DocFormats/3rdparty/external/w3c-tidy-html5/index.html
----------------------------------------------------------------------
diff --git a/DocFormats/3rdparty/external/w3c-tidy-html5/index.html b/DocFormats/3rdparty/external/w3c-tidy-html5/index.html
deleted file mode 100644
index 47b186b..0000000
--- a/DocFormats/3rdparty/external/w3c-tidy-html5/index.html
+++ /dev/null
@@ -1,638 +0,0 @@
-<!doctype html>
-<meta charset=utf-8>
-<title>HTML Tidy for HTML5 (experimental)</title>
-<style type="text/css">
-html {
-  background: #DDE5D9 url(data:image/gif;base64,R0lGODlhBAAEAIAAANra2v///yH5BAAAAAAALAAAAAAEAAQAAAIFTGB4xlcAOw==) repeat 0 0;
-  font-family: "Lucida Sans Unicode", "Lucida Sans", verdana, arial, helvetica;
-}
-body {
-  border: solid 1px #CED4CA;
-  background-color: #FFF;
-  padding: 4px 40px 40px 40px;
-  margin: 20px 20px 20px 20px;
-  padding-right: 20%;
-}
-h1, h2 {
-  color: #0B5B9D;
-}
-h1 {
-  font-size: 39px;
-  font-weight: normal;
-  vertical-align: top;
-  margin-bottom: 0px;
-}
-a {
-  text-decoration: none;
-  color: #0B5B9D;
-  padding: 2px;
-}
-
-a:hover {
-  text-decoration: none;
-  background-color: #0B5B9D;
-  color: white;
-}
-a:active {
-  text-decoration: none;
-  background-color: white;
-  color: black;
-}
-#toc {
-  position: fixed;
-  top: 10px;
-  right: 10px;
-  border: 2px solid #0B5B9D;
-  background: rgba(255,255,255,.9);
-  padding: 15px;
-  z-index: 999;
-  max-height: 400px;
-  overflow: auto;
-  font-size: 11px;
-  font-family: Verdana, sans-serif;
-}
-#toc-button {
-  position: fixed;
-  top: 10px;
-  right: 10px;
-  background: transparent;
-  padding: 15px;
-  z-index: 999;
-  max-height: 400px;
-  overflow: auto;
-  font-size: 11px;
-  font-family: Verdana, sans-serif;
-}
-#toc .button,
-#toc-button .button,
-#quickref-button .button {
-  float: right;
-  width: 59px;
-  text-align: center;
-  margin: 0 0 5px 5px;
-  padding: 5px;
-  border: 1px #008 solid;
-  color:#00f;
-  background-color:#ccf;
-  cursor: pointer;
-}
-#toc ol {
-  margin:  0;
-  padding: 0;
-  font-size: 11px;
-  font-family: Verdana, sans-serif;
-}
-#toc li {
-  list-style: decimal outside;
-  margin-left: 20px;
-  font-size: 11px;
-  font-family: Verdana, sans-serif;
-}
-#toc li a {
-  font-size: 11px;
-  font-family: Verdana, sans-serif;
-}
-.hide {
-  display: none;
-}
-.show {
-  display: block;
-}
-#quickref-button {
-  position: fixed;
-  top: 40px;
-  right: 10px;
-  background: transparent;
-  padding: 15px;
-  z-index: 999;
-  max-height: 400px;
-  overflow: auto;
-  font-size: 11px;
-  font-family: Verdana, sans-serif;
-}
-code { color: green; font-weight: bold; }
-pre { color: green; font-weight: bold; font-family: monospace}
-em { font-style: italic; color: rgb(0, 0, 153) }
-:link { color: rgb(0, 0, 153) }
-:visited { color: rgb(153, 0, 153) }
-</style>
-
-<h1 id=intro>HTML Tidy for HTML5 (experimental)</h1>
-<p>This page documents the experimental HTML5 fork of HTML Tidy available
-at
-<a href="https://github.com/w3c/tidy-html5">https://github.com/w3c/tidy-html5</a>.
-
-<p>File bug reports and enhancement requests at
-<a href="https://github.com/w3c/tidy-html5/issues">https://github.com/w3c/tidy-html5/issues</a>.</p>
-
-<p>The W3C public mailing list for HTML Tidy discussion is
-<b>html-tidy@w3.org</b> (<a href= "http://lists.w3.org/Archives/Public/html-tidy/">list archive</a>).
-
-<p>For more information on HTML5:</p>
-<ul>
-<li>
-<a href="http://dev.w3.org/html5/spec-author-view">HTML: Edition for Web Authors</a> (the latest HTML specification)
-<li>
-<a href="http://dev.w3.org/html5/markup/">HTML: The Markup Language</a> (an HTML language reference)
-</ul>
-<p>
-Validate your HTML documents using the 
-<a href="http://validator.w3.org/nu/">W3C Nu Markup Validator</a>.
-
-<h2 id=what-tidy-does>What Tidy does</h2>
-<p>Tidy corrects and cleans up HTML content by fixing markup errors.
-Here are a few examples:
-<ul>
-<li><b>Mismatched end tags:</b>
-<pre>
-   &lt;h2&gt;subheading&lt;/h3&gt;
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;h2&gt;subheading&lt;/h2&gt;
-</pre></li>
-<li><b>Misnested tags:</b>
-<pre>
-   &lt;p&gt;here is a para &lt;b&gt;bold &lt;i&gt;bold italic&lt;/b&gt; bold?&lt;/i&gt; normal?
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;p&gt;here is a para &lt;b&gt;bold &lt;i&gt;bold italic&lt;/i&gt; bold?&lt;/b&gt; normal?
-</pre></li>
-<li><b>Missing end tags:</b>
-<pre>
-   &lt;h1&gt;heading
-   &lt;h2&gt;subheading&lt;/h2&gt;
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;h1&gt;heading&lt;/h1&gt;
-   &lt;h2&gt;subheading&lt;/h2&gt;
-</pre>
-…and 
-<pre>
-   &lt;h1&gt;&lt;i&gt;italic heading&lt;/h1&gt;
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;h1&gt;&lt;i&gt;italic heading&lt;/i&gt;&lt;/h1&gt;
-</pre></li>
-<li><b>Mixed-up tags</b>
-<pre>
-   &lt;i&gt;&lt;h1&gt;heading&lt;/h1&gt;&lt;/i&gt;
-   &lt;p&gt;new paragraph &lt;b&gt;bold text
-   &lt;p&gt;some more bold text
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;h1&gt;&lt;i&gt;heading&lt;/i&gt;&lt;/h1&gt;
-   &lt;p&gt;new paragraph &lt;b&gt;bold text&lt;/b&gt;
-   &lt;p&gt;&lt;b&gt;some more bold text&lt;/b&gt;
-</pre></li>
-<li><b>Tag in the wrong place:</b>
-<pre>
-   &lt;h1&gt;&lt;hr&gt;heading&lt;/h1&gt;
-   &lt;h2&gt;sub&lt;hr&gt;heading&lt;/h2&gt;
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;hr&gt;
-   &lt;h1&gt;heading&lt;/h1&gt;
-   &lt;h2&gt;sub&lt;/h2&gt;
-   &lt;hr&gt;
-   &lt;h2&gt;heading&lt;/h2&gt;
-</pre></li>
-<li><b>Missing "/" in end tags:</b>
-<pre>
-   &lt;a href="#refs"&gt;References&lt;a&gt;
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;a href="#refs"&gt;References&lt;/a&gt;
-</pre></li>
-<li><b>List markup with missing tags:</b>
-<pre>
-   &lt;body&gt;
-   &lt;li&gt;1st list item
-   &lt;li&gt;2nd list item
-</pre>
-<p>…is converted to:</p>
-<pre>
-   &lt;body&gt;
-   &lt;ul&gt;
-   &lt;li&gt;1st list item&lt;/li&gt;
-   &lt;li&gt;2nd list item&lt;/li&gt;
-   &lt;/ul&gt;
-</pre></li>
-<li><b>Missing quotation marks around attribute values</b>
-<p>Tidy inserts quotation marks around all attribute values for you. It
-can also detect when you have forgotten the closing quotation mark,
-although this is something you will have to fix yourself.</p>
-</li>
-<li><b>Unknown/proprietary attributes</b>
-<p>Tidy has a comprehensive knowledge of the attributes defined in HTML5.
-That often allows you to spot where you have mis-typed an attribute.
-</li>
-<li><b>Tags lacking a terminating "&gt;"</b>
-<p>This is something you then have to fix yourself as Tidy cannot
-determine where the "&gt;" was meant to be inserted.</p>
-</li>
-</ul>
-
-<h2 id="help">How to run Tidy from the command line</h2>
-<p>This is the syntax for invoking Tidy from the command line:
-<pre>
-   <code>tidy <em>[[options] filename]*</em></code>
-</pre>
-<p>
-Tidy defaults to reading from standard input, so if you run Tidy without
-specifying the <code><em>filename</em></code> argument, it will just sit
-there waiting for input to read.
-And Tidy defaults to writing to standard output. So you can pipe output
-from Tidy to other programs, as well as pipe output from other programs to
-Tidy. You can page through the output from Tidy by piping it to a pager:</p>
-<pre>
-   tidy file.html | less
-</pre>
-<p>
-To have Tidy write its output to a file instead, either use the
-<code>-o <em>filename</em></code> or <code>-output <em>filename</em></code>
-option, or redirect standard output to the file; for example:
-<pre>
-   tidy -o output.html index.html
-   tidy index.html > output.html
-</pre>
-<p>Both of those run tidy on the file <b>index.html</b> and write the
-output to the file <b>output.html</b>, while writing any error messages to
-standard error.
-<p>
-Tidy defaults to writing its error messages to standard error (that is, to
-the console where you’re running Tidy). To page through the error messages,
-along with the output, redirect standard error to standard output, and pipe
-it to your pager:
-<pre>
-   tidy index.html 2&gt;&amp;1 | less
-</pre>
-<p>
-To have Tidy write the errors to a file instead, either use the
-<code>-f <em>filename</em></code> or <code>-file <em>filename</em></code>
-option, or redirect standard error to a file:</p>
-<pre>
-   tidy -o output.html -f errs.txt index.html
-   tidy index.html > output.html 2> errs.txt 
-</pre>
-<p>Both of those run tidy on the file <b>index.html</b> and write the
-output to the file <b>output.html</b>, while writing any error messages to
-the file <b>errs.txt</b>.
-<p>
-Writing the error messages to a file is especially useful if the file you
-are checking has many errors; reading them from a file instead of the
-console or pager can make it easier to review them.
-<p>You can use the or <code>-m</code> or <code>-modify</code> option to
-modify (in-place) the contents of the input file you are checking; that is,
-to overwrite those contents with the output from Tidy. Example:
-<pre>
-   tidy -f errs.txt -m index.html
-</pre>
-<p>That runs tidy on the file <b>index.html</b>, modifying it in place
-and writing the error messages to the file <b>errs.txt</b>.
-<p>
-<b>Caution:</b> If you use the -m option, you should first save a copy of your file.
-<h2 id=options>Options and configuration settings</h2>
-<p>To get a list of available options, use:</p>
-<pre>
-   tidy -help
-</pre>
-<p>To get a list of all configuration settings, use:</p>
-<pre>
-   tidy -help-config
-</pre>
-<p>To read the help output a page at time, pipe it to a pager:
-<pre>
-   tidy -help | less
-   tidy -help-config | less
-</pre>
-<p>Single-letter options other than -f may be combined; for example:
-<pre>
-  tidy -f errs.txt -imu foo.html
-</pre>
-
-<h2 id="config">Using a config file</h2>
-<p>The most convenient way to configure Tidy is by using separate
-config file.
-Assuming you have created a
-Tidy config file named <b>config.txt</b> (the name doesn't matter), you can
-instruct Tidy to use it via the command line option
-<code>-config config.txt</code>; for example:
-<pre>
-   tidy -config config.txt file1.html file2.html
-</pre>
-<p>Alternatively, you can name the default config file via the
-environment variable named <b>HTML_TIDY</b>, the value of which is
-the absolute path for the config file.
-<p>You can also set config options on the command line by preceding
-the name of the option immediately (no intervening space) with the string "<code>--</code>";
-for example:</p>
-<pre>
-  tidy --break-before-br true --show-warnings false
-</pre>
-<p>You can find documentation for full set of configuration options
-on the
-<a href= "quickref.html">Quick Reference</a>
-page.
-
-<h2 id=sample-config>Sample config file</h2>
-<p>The following is an example of a Tidy config file.</p>
-<pre>
-// sample config file for HTML tidy
-indent: auto
-indent-spaces: 2
-wrap: 72
-markup: yes
-output-xml: no
-input-xml: no
-show-warnings: yes
-numeric-entities: yes
-quote-marks: yes
-quote-nbsp: yes
-quote-ampersand: no
-break-before-br: no
-uppercase-tags: no
-uppercase-attributes: no
-char-encoding: latin1
-new-inline-tags: cfif, cfelse, math, mroot, 
-  mrow, mi, mn, mo, msqrt, mfrac, msubsup, munderover,
-  munder, mover, mmultiscripts, msup, msub, mtext,
-  mprescripts, mtable, mtr, mtd, mth
-new-blocklevel-tags: cfoutput, cfquery
-new-empty-tags: cfelse
-</pre>
-
-<h2 id="new-config">New configuration options</h2>
-<p>The experimental HTML5-aware fork of Tidy adds the following new
-configuration options:
-<ul>
-<li><a href="http://w3c.github.com/tidy-html5/quickref.html#coerce-endtags">coerce-endtags</a>
-<li><a href="http://w3c.github.com/tidy-html5/quickref.html#drop-empty-elements">drop-empty-elements</a>
-<li><a href="http://w3c.github.com/tidy-html5/quickref.html#merge-emphasis">merge-emphasis</a>
-<li><a href="http://w3c.github.com/tidy-html5/quickref.html#omit-optional-tags">omit-optional-tags</a>
-<li><a href="http://w3c.github.com/tidy-html5/quickref.html#show-info">show-info</a>
-</ul>
-<p>In addition, it also adds a new <code>html5</code> value for the
-<a href="http://w3c.github.com/tidy-html5/quickref.html#doctype">doctype</a>
-configuration option.
-
-<h2 id=indenting>Indenting output for readability</h2>
-<p>Indenting the source markup of an HTML document makes the markup easier
-to read. Tidy can indent the markup for an HTML document while recognizing
-elements whose contents should not be indented. In the example below, Tidy
-indents the output while preserving the formatting of the &lt;pre>
-element:</p>
-<p>Input:</p>
-<pre>
- &lt;html&gt;
- &lt;head&gt;
- &lt;title&gt;Test document&lt;/title&gt;
- &lt;/head&gt;
- &lt;body&gt;
- &lt;p&gt;This example shows how Tidy can indent output while preserving
- formatting of particular elements.&lt;/p&gt;
- 
- &lt;pre&gt;This is
- &lt;em&gt;genuine
-       preformatted&lt;/em&gt;
-    text
- &lt;/pre&gt;
- &lt;/body&gt;
- &lt;/html&gt;
- 
-</pre>
-<p>Output:</p>
-<pre>
-&lt;html&gt;
-  &lt;head&gt;
-    &lt;title&gt;Test document&lt;/title&gt;
-  &lt;/head&gt;
-
-  &lt;body&gt;
-    &lt;p&gt;This example shows how Tidy can indent output while preserving
-    formatting of particular elements.&lt;/p&gt;
-&lt;pre&gt;
-This is
-&lt;em&gt;genuine
-       preformatted&lt;/em&gt;
-   text
-&lt;/pre&gt;
-  &lt;/body&gt;
-&lt;/html&gt;
-</pre>
-<p>Tidy’s indenting behavior is not perfect and can sometimes cause your
-output to be rendered by browsers in a different way than the input.
-You can avoid unexpected indenting-related rendering problems by setting
-<code>indent: no</code> or <code>indent: auto</code> in a config file.</p>
-
-<h2 id=preserve-indenting>Preserving original indenting not possible</h2>
-<p>Tidy is not capable of preserving the original indenting of the markup
-from the input it receives. That’s because Tidy starts by building a clean
-parse tree from the input, and that parse tree doesn’t contain any
-information about the original indenting. Tidy then pretty-prints the parse
-tree using the current config settings. Trying to preserve the original
-indenting from the input would interact badly with the repair operations
-needed to build a clean parse tree, and would considerably complicate the
-code.</p>
-
-<h2 id=encodings>Encodings and character references</h2>
-<p>
-Tidy defaults to assuming you want output to be encoded in UTF-8.
-But Tidy offers you a choice of other character encodings: US ASCII, ISO
-Latin-1, and the ISO 2022 family of 7 bit encodings.
-<p>
-Tidy doesn't yet recognize the use of the HTML &lt;meta> element for
-specifying the character encoding.</p>
-<p>
-The full set of HTML character references are defined. Cleaned-up output
-uses named character references for characters when appropriate. Otherwise,
-characters outside the normal range are output as numeric character
-references.
-
-<h2 id=accessibility>Accessibility</h2>
-<p>Tidy offers advice on potential accessibility problems for people using
-non-graphical browsers.
-
-<h2 id=presentational-markup>Cleaning up presentational markup</h2>
-<p>Some tools generate HTML with presentational elements such as &lt;font>,
-&lt;nobr>, and &lt;center>.
-Tidy's <code>-clean</code> option will replace those elements with CSS style
-properties.
-<p>Some HTML documents rely on the presentational effects of &lt;p&gt; start
-tags that are not followed by any content.  Tidy deletes such &lt;p> tags
-(as well as any headings that don’t have content).  So do not use &lt;p>
-tags simply for adding vertical whitespace; instead use CSS, or the
-&lt;br&gt; element.  However, note that Tidy won’t discard &lt;p> tags that
-are followed by any nonbreaking space (that is, the &amp;nbsp; named
-character reference).
-
-<h2 id=new-tags>Teaching Tidy about new tags</h2>
-<p>You can teach Tidy about new tags by declaring them in the
-configuration file, the syntax is:</p>
-<pre>
-  new-inline-tags: <em>tag1, tag2, tag3</em>
-  new-empty-tags: <em>tag1, tag2, tag3</em>
-  new-blocklevel-tags: <em>tag1, tag2, tag3</em>
-  new-pre-tags: <em>tag1, tag2, tag3</em>
-</pre>
-<p>The same tag can be defined as empty and as inline or as empty
-and as block.</p>
-<p>These declarations can be combined to define a new empty
-inline or empty block element. But you are not advised to declare
-tags as being both inline and block.</p>
-<p>Note that the new tags can only appear where Tidy expects inline
-or block-level tags respectively. That means you can’t place
-new tags within the document head or other contexts with restricted
-content models.
-
-<h2 id=php-asp-jste>Ignoring PHP, ASP, and JSTE instructions</h2>
-<p>Tidy will gracefully ignore many cases of PHP, ASP, and JSTE
-instructions within element content and as replacements for attributes,
-and preserve them as-is in output; for example:</p>
-<pre>
-  &lt;option &lt;% if rsSchool.Fields("ID").Value
-    = session("sessSchoolID")
-    then Response.Write("selected") %&gt;
-    value='&lt;%=rsSchool.Fields("ID").Value%&gt;'&gt;
-    &lt;%=rsSchool.Fields("Name").Value%&gt;
-    (&lt;%=rsSchool.Fields("ID").Value%&gt;)
-  &lt;/option&gt;
-</pre>
-<p>But note that Tidy may report missing attributes when those are “hidden”
-within the PHP, ASP, or JSTE code. If you use PHP, ASP, or JSTE code to
-create a start tag, but place the end tag explicitly in the HTML markup, Tidy
-won’t be able to match them up, and will delete the end tag.  So in that
-case you are advised to make the start tag explicit and to use PHP, ASP, or
-JSTE code for just the attributes; for example:</p>
-<pre>
-   &lt;a href="&lt;%=random.site()%&gt;"&gt;do you feel lucky?&lt;/a&gt;
-</pre>
-<p>
-Tidy can also get things wrong if the PHP, ASP, or JSTE code includes
-quotation marks; for example:
-</p>
-<pre>
-    value="&lt;%=rsSchool.Fields("ID").Value%&gt;"
-</pre>
-<p>Tidy will see the quotation mark preceding <i>ID</i> as ending the
-attribute value, and proceed to complain about what follows.
-<p>Tidy allows you to control whether line wrapping on spaces within
-PHP, ASP, and JSTE
-instructions is enabled; see the <b>wrap-php</b>, <b>wrap-asp</b>,
-and <b>wrap-jste</b> config options.</p>
-
-<h2 id=xml>Correcting well-formedness errors in XML markup</h2>
-<p>Tidy can help you to correct well-formedness errors in XML markup. Tidy
-doesn't yet recognize all XML features, though; for example, it doesn't
-understand CDATA sections or DTD subsets.</p>
-
-<h2 id="scripts">Using Tidy from scripts</h2>
-<p>If you want to run Tidy from a Perl or other scripting language
-you may find it of value to inspect the result returned by Tidy
-when it exits: 0 if everything is fine, 1 if there were warnings
-and 2 if there were errors. This is an example using Perl:</p>
-<pre>
-if (close(TIDY) == 0) {
-  my $exitcode = $? &gt;&gt; 8;
-  if ($exitcode == 1) {
-    printf STDERR "tidy issued warning messages\n";
-  } elsif ($exitcode == 2) {
-    printf STDERR "tidy issued error messages\n";
-  } else {
-    die "tidy exited with code: $exitcode\n";
-  }
-} else {
-  printf STDERR "tidy detected no errors\n";
-}
-</pre>
-
-<h2 id="implementation">Source code</h2>
-<p>The source code for the experimental HTML5 fork of Tidy can be found at
-<a href="https://github.com/w3c/tidy-html5">https://github.com/w3c/tidy-html5</a>.
-
-<h2 id=build-cli>Building the tidy command-line tool</h2>
-<p>For Linux/BSD/OSX platforms, you can build and install the
-<code>tidy</code> command-line tool from the source code using the
-following steps.</p>
-
-<ol>
-<li><code>make -C build/gmake/</code></li>
-<li><code>make install -C build/gmake/</code></li>
-</ol>
-
-<p>Note that you will either need to run <code>make install</code> as root,
-or with <code>sudo make install</code>.</p>
-
-<h2 id=build-library>Building the libtidy shared library</h2>
-<p>For Linux/BSD/OSX platforms, you can build and install the
-<code>tidylib</code> shared library (for integrating Tidy into other 
-applications) from the source code using the following steps.</p>
-
-<ol>
-<li><code>sh build/gnuauto/setup.sh &amp;&amp; ./configure &amp;&amp; make</code></li>
-<li><code>make install</code></li>
-</ol>
-
-<p>Note that you will either need to run <code>make install</code> as root,
-or with <code>sudo make install</code>.</p>
-
-<h2 id=acks>Acknowledgements</h2>
-<p>Dave Raggett has a list of
-<a href="http://www.w3.org/People/Raggett/tidy/#acks">Acknowledgements</a>
-for people who made suggestions or reported bugs for the
-original version of Tidy.
-
-<div id=toc-button style="">
-<a class=button onclick="
-  document.getElementById('toc').className = 'show';
-  document.getElementById('toc-button').className = 'hide';
-  document.getElementById('quickref-button').className = 'hide';"
->Show TOC</a>
-</div>
-<div id=toc class=hide>
-<a class=button onclick="
- document.getElementById('toc').className = 'hide';
- document.getElementById('toc-button').className = 'show';
- document.getElementById('quickref-button').className = 'show';"
->Close</a>
-<ol>
-<li><a href="#what-tidy-does">What Tidy does</a>
-<li><a href="#help">How to run Tidy from the command line</a>
-<li><a href="#options">Options and configuration settings</a>
-<li><a href="#config">Using a config file</a>
-<li><a href="#sample-config">Sample config file</a>
-<li><a href="#new-config">New configuration options</a>
-<li><a href="#indenting">Indenting output for readability</a>
-<li><a href="#preserve-indenting">Preserving original indenting not possible</a>
-<li><a href="#encodings">Encodings and character references</a>
-<li><a href="#accessibility">Accessibility</a>
-<li><a href="#presentational-markup">Cleaning up presentational markup</a>
-<li><a href="#new-tags">Teaching Tidy about new tags</a>
-<li><a href="#php-asp-jste">Ignoring PHP, ASP, and JSTE instructions</a>
-<li><a href="#xml">Correcting well-formedness errors in XML markup</a>
-<li><a href="#scripts">Using Tidy from scripts</a>
-<li><a href="#implementation">Source code</a>
-<li><a href="#build-cli">Building the tidy command-line tool</a>
-<li><a href="#build-library">Building the tidylib shared library</a>
-<li><a href="#acks">Acknowledgements</a>
-</ol>
-</div>
-
-<div id=quickref-button style="">
-<a class=button href="quickref.html">QuickRef</a>
-</div>
-<script>
- document.addEventListener("mouseup", function() {
- if (document.getElementById('toc').className = 'show') {
-     document.getElementById('toc').className = 'hide';
-     document.getElementById('toc-button').className = 'show';
-     document.getElementById('quickref-button').className = 'show';
-}
-}, false)
-</script>

http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/ac70cb0e/DocFormats/3rdparty/external/w3c-tidy-html5/license.html
----------------------------------------------------------------------
diff --git a/DocFormats/3rdparty/external/w3c-tidy-html5/license.html b/DocFormats/3rdparty/external/w3c-tidy-html5/license.html
deleted file mode 100644
index 3e704e0..0000000
--- a/DocFormats/3rdparty/external/w3c-tidy-html5/license.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-	<title>HTML Tidy License</title>
-</head>
-
-<body>
-<pre>
-HTML Tidy
-
-HTML parser and pretty printer
-
-Copyright (c) 1998-2003 World Wide Web Consortium
-(Massachusetts Institute of Technology, European Research 
-Consortium for Informatics and Mathematics, Keio University).
-All Rights Reserved.
-
-This software and documentation is provided "as is," and
-the copyright holders and contributing author(s) make no
-representations or warranties, express or implied, including
-but not limited to, warranties of merchantability or fitness
-for any particular purpose or that the use of the software or
-documentation will not infringe any third party patents,
-copyrights, trademarks or other rights. 
-
-The copyright holders and contributing author(s) will not be held
-liable for any direct, indirect, special or consequential damages
-arising out of any use of the software or documentation, even if
-advised of the possibility of such damage.
-
-Permission is hereby granted to use, copy, modify, and distribute
-this source code, or portions hereof, documentation and executables,
-for any purpose, without fee, subject to the following restrictions:
-
-1. The origin of this source code must not be misrepresented.
-2. Altered versions must be plainly marked as such and must
-   not be misrepresented as being the original source.
-3. This Copyright notice may not be removed or altered from any
-   source or altered source distribution.
- 
-The copyright holders and contributing author(s) specifically
-permit, without fee, and encourage the use of this source code
-as a component for supporting the Hypertext Markup Language in
-commercial products. If you use this source code in a product,
-acknowledgment is not required but would be appreciated.
-</pre>
-
-
-</body>
-</html>


Mime
View raw message