W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2003

tidy parsing config file?

From: W. Sean Hennessy <shennessy@goldenhourdata.com>
Date: Fri, 30 May 2003 18:48:54 -0700
To: <html-tidy@w3.org>
Message-ID: <FCEPJMMNNIMNJCDGGLGCOEBLCCAA.shennessy@goldenhourdata.com>

It appears as if tidy is parsing the file passed with -c command line
argument.
Is this a result of mixing both command line options and the use of config
file?

Regards,
Sean

====[begin ant log file]
tidy-html:
     [echo] Beautifying html File
     [java] Executing 'C:\Tools\j2sdk1.4.1_02\jre\bin\java.exe' with
arguments:
     [java] '-classpath'
     [java]
'C:\Tools\jtidy-04aug2000r6\build\Tidy.jar;C:\Wrk\WSean\Prj\SCM-Test'
     [java] 'org.w3c.tidy.Tidy'
     [java] '-c'
     [java] '/usr/local/share/sorted-tidy-conf.txt'
     [java] '-f'
     [java] 'C:\Wrk\WSean\Prj\SCM-Test\build\1.doc/jtidy-build.log'
     [java] '-raw'
     [java] '-modify'
     [java] '-indent'
     [java] 'C:\Wrk\WSean\Prj\SCM-Test\build\1.doc/CSCIName.COD.html'
     [java]
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.
Execute:Java13CommandLauncher: Executing
'C:\Tools\j2sdk1.4.1_02\jre\bin\java.exe' with arguments:
'-classpath'
'C:\Tools\jtidy-04aug2000r6\build\Tidy.jar;C:\Wrk\WSean\Prj\SCM-Test'
'org.w3c.tidy.Tidy'
'-c'
'/usr/local/share/sorted-tidy-conf.txt'
'-f'
'C:\Wrk\WSean\Prj\SCM-Test\build\1.doc/jtidy-build.log'
'-raw'
'-modify'
'-indent'
'C:\Wrk\WSean\Prj\SCM-Test\build\1.doc/CSCIName.COD.html'

The ' characters around the executable and arguments are
not part of the command.


     [java] Tidy (vers 4th August 2000) Parsing
"/usr/local/share/sorted-tidy-conf.txt"
     [java] line 15 column 3 - Warning: inserting missing 'title' element

     [java] /usr/local/share/sorted-tidy-conf.txt: Document content looks
like HTML 3.2
     [java] 1 warnings/errors were found!

     [java] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
     [java] <html>
     [java] <head>
     [java] <meta name="generator" content="HTML Tidy, see www.w3.org">
     [java] <title></title>
     [java] </head>
     [java] <body>
     [java] // alphabetically ordered config file for HTML tidy
     [java] break-before-br: no char-encoding: latin1 force-output: yes
     [java] indent-spaces: 2 indent: yes input-xml: no literal-attributes:
yes
     [java] markup: yes new-blocklevel-tags: cfoutput, cfquery
new-empty-tags:
     [java] cfelse new-inline-tags: cfif, cfelse, math, mroot, mprescripts,
     [java] mtable, mtr, mtd, mth mrow, mi, mn, mo, msqrt, mfrac, msubsup,
     [java] munderover, munder, mover, mmultiscripts, msup, msub, mtext,
     [java] numeric-entities: yes output-encoding: raw output-xml: no
     [java] quote-ampersand: no quote-marks: yes quote-nbsp: yes
show-warnings:
     [java] yes tidy-mark: no uppercase-attributes: no uppercase-tags: no
wrap:
     [java] 132 write-back: yes
     [java] </body>
     [java] </html>


BUILD FAILED
file:C:/usr/local/test-build.xml:143: Java returned: 1
	at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
	at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
	at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2169)
	at org.mozilla.javascript.InterpretedScript.call(InterpretedScript.java:62)
	at org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:55)
	at org.mozilla.javascript.Context.evaluateReader(Context.java:820)
	at org.mozilla.javascript.Context.evaluateString(Context.java:784)
	at
com.ibm.bsf.engines.javascript.JavaScriptEngine.eval(JavaScriptEngine.java:8
3)
	at com.ibm.bsf.util.BSFEngineImpl.exec(BSFEngineImpl.java:106)
	at com.ibm.bsf.BSFManager.exec(BSFManager.java:479)
	at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:132)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
	at org.apache.tools.ant.Main.runBuild(Main.java:609)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 16 seconds
====[end ant log file]
====[begin tidy log file]

Tidy (vers 4th August 2000) Parsing
"C:\Wrk\WSean\Prj\SCM-Test\build\1.doc/CSCIName.COD.html"
line 7 column 41 - Warning: unescaped & or unknown entity "&#x"
line 7 column 232 - Warning: unescaped & or unknown entity "&#x"
line 62 column 18 - Warning: trimming empty <div>
line 90 column 21 - Warning: trimming empty <div>
line 101 column 24 - Warning: trimming empty <div>
line 116 column 24 - Warning: trimming empty <div>
line 132 column 24 - Warning: trimming empty <div>
line 148 column 27 - Warning: trimming empty <div>
line 176 column 27 - Warning: trimming empty <div>
line 203 column 27 - Warning: trimming empty <div>
line 228 column 27 - Warning: trimming empty <div>
line 245 column 27 - Warning: trimming empty <div>
line 273 column 27 - Warning: trimming empty <div>
line 333 column 44 - Warning: trimming empty <li>
line 334 column 37 - Warning: trimming empty <ul>
line 335 column 34 - Warning: trimming empty <div>
line 351 column 27 - Warning: trimming empty <div>
line 353 column 22 - Warning: trimming empty <p>
line 362 column 30 - Warning: trimming empty <div>
line 381 column 24 - Warning: trimming empty <div>
line 389 column 27 - Warning: trimming empty <div>
line 390 column 27 - Warning: trimming empty <div>
line 391 column 19 - Warning: trimming empty <div>
line 416 column 22 - Warning: trimming empty <p>
line 420 column 27 - Warning: trimming empty <div>
line 421 column 27 - Warning: trimming empty <div>
line 422 column 19 - Warning: trimming empty <div>
line 427 column 27 - Warning: trimming empty <div>
line 428 column 27 - Warning: trimming empty <div>
line 429 column 19 - Warning: trimming empty <div>
line 434 column 27 - Warning: trimming empty <div>
line 435 column 27 - Warning: trimming empty <div>
line 436 column 19 - Warning: trimming empty <div>
line 449 column 21 - Warning: trimming empty <div>
line 463 column 21 - Warning: trimming empty <div>
line 486 column 21 - Warning: trimming empty <div>
line 496 column 24 - Warning: trimming empty <div>

C:\Wrk\WSean\Prj\SCM-Test\build\1.doc/CSCIName.COD.html: Document content
looks like HTML 4.01 Transitional
37 warnings/errors were found!

HTML & CSS specifications are available from http://www.w3.org/
To learn more about Tidy see http://www.w3.org/People/Raggett/tidy/
Please send bug reports to Dave Raggett care of <html-tidy@w3.org>
Lobby your company to join W3C, see http://www.w3.org/Consortium


====[end tidy log file]

====[begin sorted-tiny-conf.txt]
<html>
<head><title></title>
</head><body><pre>
// alphabetically ordered config file for HTML tidy
break-before-br: no
char-encoding: latin1
force-output: yes
indent-spaces: 2
indent: yes
input-xml: no
literal-attributes: yes
markup: yes
new-blocklevel-tags: cfoutput, cfquery
new-empty-tags: cfelse
new-inline-tags: cfif, cfelse, math, mroot,
  mprescripts, mtable, mtr, mtd, mth
  mrow, mi, mn, mo, msqrt, mfrac, msubsup, munderover,
  munder, mover, mmultiscripts, msup, msub, mtext,
numeric-entities: yes
output-encoding: raw
output-xml: no
quote-ampersand: no
quote-marks: yes
quote-nbsp: yes
show-warnings: no
tidy-mark: no
uppercase-attributes: no
uppercase-tags: no
wrap: 132
write-back: yes
</pre></body></html>
====[end sorted-tiny-conf.txt]
Received on Monday, 2 June 2003 11:15:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:54 GMT