Re: Presentation tags

Chris Bamford <[email protected]> Thu, 30 Jun 2011 14:13:55 +0000
Newsgroups gmane.comp.parsers.htmlparser.user
Message-ID <[email protected]>
Hi Derrick,

On 30 Jun 2011, at 14:48, Derrick Oswald wrote:

> Although you might find it difficult to work with, the way the tags and text are returned makes sense.
> To avoid splitting the word, the program would need to make a judgement call regarding which text is a word and belongs together and which of the tags to ignore.

While I think I follow your answer, I'm not sure I agree - surely there is no judgement call required in this case - the removal of the tags from "<u>north</u>ern" = "northern", no?  Is the text not accumulated in a buffer and only tags discarded? I fail to see the need for extra whitespace to be inserted.  Certainly the purpose of the presentation tags I am aware of is not to represent some sort of whitespace (like say, <br> or <p>), so I would have thought in their case whitespace should definitely not be inserted?

Kind regards,

- Chris</p>


Chris Bamford
Software Engineer

2 - 8 Balfe Street
Kings Cross,
London, N1 9EG

mobile +44 7860 405292
tel: +44 (0) 207 843 2300
web www.mimecast.com


The information contained in this communication from [email protected] is confidential and may be legally privileged. It is intended solely for use by [email protected] and others authorized to receive it. If you are not [email protected] you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.


Mimecast Ltd. is a company registered in England and Wales with the company number 4698693 VAT No. GB 832 5179 29
Registered Office:2 - 8 Balfe Street, Kings Cross London, N1 9EG Email Address: [email protected]

This email message has been scanned for viruses by Mimecast.
Mimecast delivers a complete managed email solution from a single web based platform.
For more information please visit http://www.mimecast.com

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2

_______________________________________________
Htmlparser-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
111063015144101202.gif (image/gif, 2.2 KB) - not displayed
111063015144101402.gif (image/gif, 14 KB) - not displayed