W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2002

Re: Strange tag: <o:p>

From: Charles Reitzel <creitzel@rcn.com>
Date: Mon, 24 Jun 2002 12:06:55 -0400
Message-Id: <4.3.2.7.2.20020624120247.028bcc30@pop.rcn.com>
To: Matthew Stanfield <matthew@propertyknowledge.com>
Cc: Bert Van Kets <bert@vankets.com>, html-tidy@w3.org

Word2000 will use the o: namespace prefix (o for Office).  Using 
--word-2000 yes should also fix the problem.  This option will also clean 
up a bunch of the cruft Office puts in HTML files.  Often used with --clean 
and --bare.

See also:
http://tidy.sourceforge.net/docs/quickref.html#word-2000
http://tidy.sourceforge.net/docs/quickref.html#clean
http://tidy.sourceforge.net/docs/quickref.html#bare

take it easy,
Charlie


At 04:18 PM 6/24/2002 +0100, Matthew Stanfield wrote:

>Bert Van Kets wrote:
> >
> > The "o:p" stand for the p tag inside the o namespace.  Is a namespace by
> > that name defined anywhere in the file?  You can recognize it by the xmlns
> > prefix.
> > Most probably it's a left over from a faulty XSL transformation.
> > Without seeing the file it's a bit difficult to tell you why Tidy does not
> > mark all of them as errors.  Probably it's the order of the tags that makes
> > them faulty or not.  ex. <o:p> inside <body> can be excepted, but outside
> > <body> not.
>
>Thanks Bert.
>
>I've got rid of it using: "new-blocklevel-tags: o:p".
>
>Regards,
>
>..matthew
Received on Monday, 24 June 2002 12:03:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:52 GMT