[oXygen-user] How can I ignore invalid CSS?

Jostein Austvik Jacobsen josteinaj at gmail.com
Thu May 16 04:59:17 CDT 2013


I've reduced the issue to a very basic HTML file. This is the HTML:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Title</title>
    <link href="//
netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css"
rel="stylesheet" />
  </head>
  <body>
    <h1>Headline</h1>
    <p>Paragraph <b>bold</b> <i>italic</i></p>
  </body>
</html>

I've attached this HTML-file as well as screenshots of what happens when
the link element is commented out.

My oXygen version is: <oXygen/> XML Editor 14.2, build 2013021115.


Jostein


On 16 May 2013 10:04, George Cristian Bina <george at oxygenxml.com> wrote:

> Dear Jostein,
>
> Following the link you provided I see a sample file
> http://twitter.github.io/**bootstrap/base-css.html<http://twitter.github.io/bootstrap/base-css.html>
> This does not work in Author mode because it is not XML wellformed - the
> oXygen XML Author requires the document to be wellformed. There are indeed
> also some CSS errors but they should not be critical.
> The solution will be to make the document wellformed. oXygen may help in
> two ways
>  - reporting the errors and you can manually fix them
>  - use the File -> Import -> HTML File to get an XHTML file
>
> If your experience is different maybe you can make available a sample file
> to allow us to reproduce the same behavior? Then we should be able to
> provide more help.
>
> Best Regards,
> George
> --
> George Cristian Bina
>
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
> On 5/7/13 2:10 PM, Jostein Austvik Jacobsen wrote:
>
>> I'd like to edit a website in oXygen. The website is based on Twitter
>> Bootstrap. However, the CSS included with Bootstrap is invalid[1].
>>
>> I just want to be able to add some paragraphs, headlines, images etc. to
>> the HTML, nothing fancy, but since the CSS files doesn't validate, the
>> Author mode doesn't display anything useful. Is it possible to ignore
>> the CSS errors somehow and just display the HTML as if no CSS files were
>> associated?
>>
>> [1] https://github.com/twitter/**bootstrap/issues/6398<https://github.com/twitter/bootstrap/issues/6398>
>>
>> Jostein
>>
>>
>> ______________________________**_________________
>> oXygen-user mailing list
>> oXygen-user at oxygenxml.com
>> http://www.oxygenxml.com/**mailman/listinfo/oxygen-user<http://www.oxygenxml.com/mailman/listinfo/oxygen-user>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130516/9831548a/attachment-0002.html 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130516/9831548a/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: without-invalid-css.png
Type: image/png
Size: 66244 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130516/9831548a/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: with-invalid-css.png
Type: image/png
Size: 89224 bytes
Desc: not available
Url : http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20130516/9831548a/attachment-0003.png 


More information about the oXygen-user mailing list