Re: Rich Text Validation



Steve schrieb:
Hi All,

We have an Interbase database that stores entries in a text blob in
rich text format. We suspect that there are problems with some of the
records such as ending tags missing, etc.

Can anyone point me to a component, application, whatever that can
validate rich text for proper formatting? I'd like to find something
for rich text that could do a job similar to W3C's validator
http://validator.w3.org/ but hopefully where I could feed it several
hundred submissions in batch.

Thanks,
Steve

Hi Steve,

- LogicTran offers products in the RTF conversion field, maybe their free demo versions of RTF to HTML converters show some error messages if bad RTF is detected:

http://www.logictran.com/

- my Delphi component 'ScroogeXHTML' for RTF to XHTML/HTML conversion might be used as a starting point for a validator, it has less configuration options than the LogicTran products, but its RTF parsing engine can be modified (source code is included)

http://www.mikejustin.com/scroogexhtml.html

If you like, you can also send an example RTF to me for and i try to figure out what is wrong with it.

Greetings,

Michael Justin
--
betasoft - Software for Delphi™ and for the Java™ platform
http://www.mikejustin.com/
http://www.betabeans.de/
.



Relevant Pages

  • Re: Dangerous trend by some here to turn OS X into Vista
    ... I guess that means you _don't_ know that rtf stands for rich ... TextEdit saves text files by default. ... no Rich Text Formating for example. ... It is Rich Text Format, ...
    (comp.sys.mac.system)
  • Re: Any RTF guru
    ... Suppose you have a paragraph in a web page and want ... to copy the para with all its formatting as rich text. ... Microsoft Word RTF. ... Yes I believe the format is the Microsoft RTF - specifically I need to ...
    (comp.lang.javascript)
  • Re: 2008 Convertor for 2004
    ... The OOXML Converter is an external application. ... RTF = Rich Text Format, it's an interchange format designed by Microsoft to ... enable other applications to exchange "rich" files (i.e. ...
    (microsoft.public.mac.office.word)
  • Re: Cant open a .pub (Publisher??) document in Word
    ... The RTF "standard" is a Microsoft format that Microsoft publishes to enable ... The entire point of the word "Rich" in Rich Text Format was to allow for the ...
    (microsoft.public.mac.office.word)
  • Re: Word Mobile problems
    ... If I open a plain-text file in Word and save it as a Word document, ... the file is saved in RTF format, ... version and you get automatic conversion if you transfer with ActiveSync. ...
    (microsoft.public.pocketpc)