[Kbabel] Re: Kbable errors

Dwayne Bailey dwayne@obsidian.co.za
Mon, 13 Jan 2003 15:40:33 +0200


>>>><p><p> - error
>>>
>>>
>>>This is simply an error in msgid.
>>
>>But...
>>
>><p>A paragraph<p>A second paragraph
>>
>>Will produce an error - and is not valid XML.  But is used quite 
>>extensively.  I'd err on accepting this as it reduces the number of 
>>false positives - these will render correctly.
> 
> 
> This one is pretty hard to determine (a complicated regular expression or 
> post-processing when error). But will try to fix as well.

One idea.

Remove all <p> </p> and check document.  This will show up any 
non-paragrpah errors.

Errors such as </p
will remain in the document and should cause the check to fail.

Won't pick up <p> that should be </p>

-- 
Kind regards
Dwayne Bailey

Obsidian Systems
dwayne@obsidian.co.za     +27-21-448 9265 / 7827 (work)
+27-21-448 9574 (fax)     +27-83-443 7114 (cell)

"An English-only, or even an English-mainly, policy necessarily condemns
most people, and thus the country as a whole, to a permanent state of
mediocrity, since people are unable to be spontaneous, creative and
self-confident if they cannot use their first language"
          Dr Neville Alexander - 'Where English can Serve but not Empower.'