detail.php
OW2 Forge: Detail: 315508 TagSoup / JTidy configuration using properties-local.xml / Java properties

Advanced - Powered by Google


   
Log In
New Account
  

The services provided by this GForge instance will stop on Jun/30. Please have a look at the information notice for more information

 
Home
My Page
Project Tree
Project Openings
Orbeon Forms
          
 
 
Summary
Tracker
Lists
Docs
News
CVS
Files
SVN
                
 

Tracker: Patches

Submit New | Browse | Admin | ExportToXml

[ #315508 ] TagSoup / JTidy configuration using properties-local.xml / Java properties

Date:
2010-09-29 14:58
Priority:
5
Submitted By:
Florian Schmitt (flschmitt)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
TagSoup / JTidy configuration using properties-local.xml / Java properties

Detailed description:
to make the TagSoup and JTidy configuration accessible without the need to recompile XFormsUtils.java, i'd like to propose the attached patch. It handles two issues as follows: - TagSoup: there's a new boolean config property names "oxf.xforms.tagsoup.ignoreBogonsFeature" with default value "true". Changing this to false should make TagSoup accept unknown (non-html) elements. - JTidy: a new set of tidy config options with priority over the hard-coded ones in XFormsUtils.java is defined using the new config property "oxf.xforms.tidy.propertiesFile" (anyURI). That URI by default points to oxf:/config/tidy.properties, making the complete Tidy config accessible using the Java properties syntax. The proposed tidy.properties defines the canvas tag as additional, valid element that would otherwise get stripped from the content parsed by JTidy. Maybe some additional hints would be useful which tidy properties are available (could be placed in tidy.properties or in the wiki).

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
TagSoup_Tidy_CustomConfig.patch Patch for configuring TagSoup / JTidy using properties-local / Java properties Download

Changes:

Field Old Value Date By
File Added2207: TagSoup_Tidy_CustomConfig.patch2010-09-29 14:58flschmitt

Copyright © 1999-2008, OW2 Consortium | contact | PS: You have a difficulty, a problem ? Please report an issue using your main OW2 account credentials