You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2006/07/06 14:27:42 UTC

Re: funny shape="rect" and clear="none"

Hi Simon,

simon litwan wrote:
> thanks for reply
> 
> i still don't know where it comes from or what added it. but i solved
> the problem.
> in my content-file was a xhtml doctype declaration. i removed it and
> added a xml declaration and the funny attributes are gone.

I'm experiencing the same problem now.
Do you have an idea where the XHTML doctype declaration comes from?

TIA!

-- Andreas

> 
> thanks
> 
> simon
>   
> 
> Am Dienstag, den 22.11.2005, 10:08 -0500 schrieb solprovider@gmail.com:
>> On 11/22/05, simon litwan <si...@wyona.com> wrote:
>>> does anybody have an idea where this attributes shape="rect" and
>>> clear="none" comes from?
>>> they are not in my content but if i edit the content with BXE i can see
>>> them in the source view.
>>> i greped but couldn't find much.
>>> it seems this attributes are inserted befor bxe gets the content.
>> SHAPE="RECT" is used for image maps.
>>
>> Did BXE add the tags?
>> Was the content pasted from another source?  (Copying from MSWord can
>> add many unused tags.)
>>
>> solprovider
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: funny shape="rect" and clear="none"

Posted by Andreas Hartmann <an...@apache.org>.
Hi Douglas,

thanks for your answer. I could solve the problem, see
http://issues.apache.org/bugzilla/show_bug.cgi?id=39981

-- Andreas

Douglas Hurbon wrote:
> IIRC, it's Xalan doing this, trying to honor the doctype.  Removing the 
> doctypes from our source documents solved this problem.
> 
> It's also possible to impose a doctype in your serialization, so check 
> the pipeline your docs are coming from, and make sure you're not 
> serializing with a doctype.
> 
> Keep in mind that BXE gets the source XML doc AS IS from 
> usecase-bxeng.xmap, and also gets a formatted page from the regular 
> pipeline, and combines them to form the page you see when editing.
> 
> Since our problem was with the source doc, I have no idea what 
> introducing a doctype into the regular pipeline for a formatted document 
> would do.
> 
> Maybe that helps a little.
> 
> -doug
> 
> On Jul 6, 2006, at 8:27 AM, Andreas Hartmann wrote:
> 
>> Hi Simon,
>>
>> simon litwan wrote:
>>> thanks for reply
>>> i still don't know where it comes from or what added it. but i solved
>>> the problem.
>>> in my content-file was a xhtml doctype declaration. i removed it and
>>> added a xml declaration and the funny attributes are gone.
>>
>> I'm experiencing the same problem now.
>> Do you have an idea where the XHTML doctype declaration comes from?
>>
>> TIA!
>>
>> -- Andreas
>>
>>> thanks
>>> simon
>>>   Am Dienstag, den 22.11.2005, 10:08 -0500 schrieb 
>>> solprovider@gmail.com:
>>>> On 11/22/05, simon litwan <si...@wyona.com> wrote:
>>>>> does anybody have an idea where this attributes shape="rect" and
>>>>> clear="none" comes from?
>>>>> they are not in my content but if i edit the content with BXE i can 
>>>>> see
>>>>> them in the source view.
>>>>> i greped but couldn't find much.
>>>>> it seems this attributes are inserted befor bxe gets the content.
>>>> SHAPE="RECT" is used for image maps.
>>>>
>>>> Did BXE add the tags?
>>>> Was the content pasted from another source?  (Copying from MSWord can
>>>> add many unused tags.)
>>>>
>>>> solprovider
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>
>>
>> --Andreas Hartmann
>> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
>> http://www.wyona.com                      http://lenya.apache.org
>> andreas.hartmann@wyona.com                     andreas@apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: funny shape="rect" and clear="none"

Posted by Douglas Hurbon <do...@mail.cuny.edu>.
IIRC, it's Xalan doing this, trying to honor the doctype.  Removing  
the doctypes from our source documents solved this problem.

It's also possible to impose a doctype in your serialization, so  
check the pipeline your docs are coming from, and make sure you're  
not serializing with a doctype.

Keep in mind that BXE gets the source XML doc AS IS from usecase- 
bxeng.xmap, and also gets a formatted page from the regular pipeline,  
and combines them to form the page you see when editing.

Since our problem was with the source doc, I have no idea what  
introducing a doctype into the regular pipeline for a formatted  
document would do.

Maybe that helps a little.

-doug

On Jul 6, 2006, at 8:27 AM, Andreas Hartmann wrote:

> Hi Simon,
>
> simon litwan wrote:
>> thanks for reply
>> i still don't know where it comes from or what added it. but i solved
>> the problem.
>> in my content-file was a xhtml doctype declaration. i removed it and
>> added a xml declaration and the funny attributes are gone.
>
> I'm experiencing the same problem now.
> Do you have an idea where the XHTML doctype declaration comes from?
>
> TIA!
>
> -- Andreas
>
>> thanks
>> simon
>>   Am Dienstag, den 22.11.2005, 10:08 -0500 schrieb  
>> solprovider@gmail.com:
>>> On 11/22/05, simon litwan <si...@wyona.com> wrote:
>>>> does anybody have an idea where this attributes shape="rect" and
>>>> clear="none" comes from?
>>>> they are not in my content but if i edit the content with BXE i  
>>>> can see
>>>> them in the source view.
>>>> i greped but couldn't find much.
>>>> it seems this attributes are inserted befor bxe gets the content.
>>> SHAPE="RECT" is used for image maps.
>>>
>>> Did BXE add the tags?
>>> Was the content pasted from another source?  (Copying from MSWord  
>>> can
>>> add many unused tags.)
>>>
>>> solprovider
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>
>
> -- 
> Andreas Hartmann
> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> andreas.hartmann@wyona.com                     andreas@apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: funny shape="rect" and clear="none"

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Hartmann wrote:
> Andreas Hartmann wrote:
>> Hi Simon,
>>
>> simon litwan wrote:
>>> thanks for reply
>>>
>>> i still don't know where it comes from or what added it. but i solved
>>> the problem.
>>> in my content-file was a xhtml doctype declaration. i removed it and
>>> added a xml declaration and the funny attributes are gone.
>>
>> I'm experiencing the same problem now.
>> Do you have an idea where the XHTML doctype declaration comes from?
> 
> I had some old endorsed libraries in tomcat/common/endorsed.
> After I removed them, it worked.

Sorry, that's not true. The problem still occurs.

-- Andreas



>>> Am Dienstag, den 22.11.2005, 10:08 -0500 schrieb solprovider@gmail.com:
>>>> On 11/22/05, simon litwan <si...@wyona.com> wrote:
>>>>> does anybody have an idea where this attributes shape="rect" and
>>>>> clear="none" comes from?
>>>>> they are not in my content but if i edit the content with BXE i can 
>>>>> see
>>>>> them in the source view.
>>>>> i greped but couldn't find much.
>>>>> it seems this attributes are inserted befor bxe gets the content.
>>>> SHAPE="RECT" is used for image maps.
>>>>
>>>> Did BXE add the tags?
>>>> Was the content pasted from another source?  (Copying from MSWord can
>>>> add many unused tags.)
>>>>
>>>> solprovider
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>
>>
> 
> 


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: funny shape="rect" and clear="none"

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Hartmann wrote:
> Hi Simon,
> 
> simon litwan wrote:
>> thanks for reply
>>
>> i still don't know where it comes from or what added it. but i solved
>> the problem.
>> in my content-file was a xhtml doctype declaration. i removed it and
>> added a xml declaration and the funny attributes are gone.
> 
> I'm experiencing the same problem now.
> Do you have an idea where the XHTML doctype declaration comes from?

I had some old endorsed libraries in tomcat/common/endorsed.
After I removed them, it worked.

-- Andreas



>> Am Dienstag, den 22.11.2005, 10:08 -0500 schrieb solprovider@gmail.com:
>>> On 11/22/05, simon litwan <si...@wyona.com> wrote:
>>>> does anybody have an idea where this attributes shape="rect" and
>>>> clear="none" comes from?
>>>> they are not in my content but if i edit the content with BXE i can see
>>>> them in the source view.
>>>> i greped but couldn't find much.
>>>> it seems this attributes are inserted befor bxe gets the content.
>>> SHAPE="RECT" is used for image maps.
>>>
>>> Did BXE add the tags?
>>> Was the content pasted from another source?  (Copying from MSWord can
>>> add many unused tags.)
>>>
>>> solprovider
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
> 
> 


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org