[ xframe-Patches-1228804 ] Patch to xml2html.xsl to change end-of-sentence matching

"SourceForge.net" <[email protected]> Mon, 22 May 2006 20:44:38 -0700
Newsgroups gmane.text.xml.xframe.xsddoc
Message-ID <[email protected]>
Patches item #1228804, was opened at 2005-06-28 02:41
Message generated for change (Comment added) made by djgregor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454393&aid=1228804&group_id=48863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: all platforms
Group: xsddoc-0.8-beta
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Kurt Riede (kriede)
Assigned to: Kurt Riede (kriede)
Summary: Patch to xml2html.xsl to change end-of-sentence matching

Initial Comment:
I have attached a patch to xml2html.xsl to change end-
of-sentence 
matching.  Instead of matching on a single period ('.') 
and chopping 
off everything after when making pages like the overview 
page, it 
matches on a period followed by a space ('. ') after the 
text has been 
normalized.  I wanted this because I have text like "XML 
Schema for the 
actiond-configuration.xml configuration file.", and I 
wanted all of 
this to be included in the overview page, not just "XML 
Schema for the 
actiond-configuration.".

Does this seem like a sane thing to do?


- djg

----------------------------------------------------------------------

Comment By: DJ Gregor (djgregor)
Date: 2006-05-22 23:44

Message:
Logged In: YES 
user_id=686108

FWIW, at the link below is the definition of how the Sun javadoc tool deals with 
the first sentence.  The solution that I provided partially meshes with what Sun 
does for javadoc (Sun also includes tabs, line terminators and "the first tag" as 
being equivalent to the space).

http://java.sun.com/j2se/javadoc/writingdoccomments/#descriptions

I'm haven't written a patch, nor am I proposing a change at this time (unless 
someone feels up to it, of course), I just stumbled across the documentation, so 
I figured that I'd log it here.

----------------------------------------------------------------------

Comment By: Kurt Riede (kriede)
Date: 2005-09-19 17:11

Message:
Logged In: YES 
user_id=484961

Patch applied.

Thanx to Gregor.

----------------------------------------------------------------------

Comment By: Kurt Riede (kriede)
Date: 2005-06-28 02:55

Message:
Logged In: YES 
user_id=484961

Hi Gregor,

sounds interesting. We'll check it.

Regards
Kurt

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=454393&aid=1228804&group_id=48863


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642