Quantcast

Regarding -xml option

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Regarding -xml option

JC Nam(HKUST-CSE)
Hello, statsvn users

I'm JC and now running this tool with -xml option.
The following is exceptions I got.

I would appreciate if anybody can give me comments to solve this problem.
I've worked on ant svn repository: https://svn.apache.org/repos/asf/ant/core/trunk/.

Thanks!

JC

--------

Syntax:

<replace file="foo.txt">
     <replacetoken><![CDATA[I am a
multiline
token]]></replacetoken>
     <replacevalue><![CDATA[I am a
multiline
value]]></replacevalue>
</replace>

" is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>).
        at org.jdom.CDATA.setText(CDATA.java:121)
        at org.jdom.CDATA.<init>(CDATA.java:95)
        at net.sf.statcvs.pages.xml.CommitListXml.renderCommit(CommitListXml.java:87)
        at net.sf.statcvs.pages.xml.CommitListXml.renderCommitList(CommitListXml.java:65)
        at net.sf.statcvs.pages.xml.LogXmlMaker.toFile(LogXmlMaker.java:61)
        at net.sf.statcvs.pages.xml.LogXml.toFile(LogXml.java:48)
        at net.sf.statcvs.pages.xml.GenerateXml.generate(GenerateXml.java:111)
        at net.sf.statcvs.pages.ReportSuiteMaker.toXml(ReportSuiteMaker.java:72)
        at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:327)
        at net.sf.statsvn.Main.generate(Main.java:116)
        at net.sf.statsvn.Main.main(Main.java:80)

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Regarding -xml option

jkealey@lavablast.com
I'm not sure I read the error properly, but it would appear that one of your commit messages includes <![CDATA[ .... ]]> in the message. Can you try manually removing it from the log file before running StatSVN? (simply remove that message with a text editor). 

If that works, it is probably a bug due to StatCVS-XML not encoding parameters when writing the output XML. Feel free to publish that bug to the StatCVS (not StatSVN as this code is in the other project) issue tracker and/or contribute a patch. 

Thanks,
---
Jason Kealey, Ing. - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Wed, Jun 8, 2011 at 5:22 AM, JC Nam(HKUST-CSE) <[hidden email]> wrote:
Hello, statsvn users

I'm JC and now running this tool with -xml option.
The following is exceptions I got.

I would appreciate if anybody can give me comments to solve this problem.
I've worked on ant svn repository: https://svn.apache.org/repos/asf/ant/core/trunk/.

Thanks!

JC

--------

Syntax:

<replace file="foo.txt">
     <replacetoken><![CDATA[I am a
multiline
token]]></replacetoken>
     <replacevalue><![CDATA[I am a
multiline
value]]></replacevalue>
</replace>

" is not legal for a JDOM CDATA section: CDATA cannot internally contain a CDATA ending delimiter (]]>).
        at org.jdom.CDATA.setText(CDATA.java:121)
        at org.jdom.CDATA.<init>(CDATA.java:95)
        at net.sf.statcvs.pages.xml.CommitListXml.renderCommit(CommitListXml.java:87)
        at net.sf.statcvs.pages.xml.CommitListXml.renderCommitList(CommitListXml.java:65)
        at net.sf.statcvs.pages.xml.LogXmlMaker.toFile(LogXmlMaker.java:61)
        at net.sf.statcvs.pages.xml.LogXml.toFile(LogXml.java:48)
        at net.sf.statcvs.pages.xml.GenerateXml.generate(GenerateXml.java:111)
        at net.sf.statcvs.pages.ReportSuiteMaker.toXml(ReportSuiteMaker.java:72)
        at net.sf.statsvn.Main.generateDefaultHTMLSuite(Main.java:327)
        at net.sf.statsvn.Main.generate(Main.java:116)
        at net.sf.statsvn.Main.main(Main.java:80)

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Loading...