<div dir="ltr">Thanks for the help.<div><br></div><div style>I'm setting up a way for our information department to author some webpages which is why I would've liked to get the authoring mode to work. Instead I've got them started on hand-coding HTML, which probably is a good thing :)</div>
</div><div class="gmail_extra"><br clear="all"><div><div><br></div>Jostein</div>
<br><br><div class="gmail_quote">On 16 May 2013 14:14, George Cristian Bina <span dir="ltr"><<a href="mailto:george@oxygenxml.com" target="_blank">george@oxygenxml.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks Jostein,<br>
<br>
oXygen cannot find that CSS and then it is a little draconian in handling this error. I also tested by pointing to <a href="http://twitter.github.io/bootstrap/assets/css/bootstrap.css" target="_blank">http://twitter.github.io/<u></u>bootstrap/assets/css/<u></u>bootstrap.css</a> and this also gives a fatal error that prevents oXygen from building the CSS model to render the document.<br>
<br>
I am afraid there is not much to do other than fixing that reference to point to a reachable location that contains a valid CSS - it can be an empty CSS file.<br>
<br>
We recorded a few enhancements we need to do for such cases<br>
<br>
1. pass the CSS through the XML Catalog, this will allow you to redirect an existing CSS location to a local CSS file that you can control.<br>
<br>
2. Try to make our implementation more forgiving wrt such errors.<br>
<br>
3.. Add an option in the framework configuration to allow ignoring the CSS specified inside a file and use the CSSes defined in the framework instead.<br>
<br>
Thanks again for bringing this issue to our attention and I am sorry that we cannot provide an immediate solution to this problem.<div class="im"><br>
<br>
Best Regards,<br>
George<br>
--<br>
George Cristian Bina<br>
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger<br>
<a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
<br></div><div class="im">
On 5/16/13 12:59 PM, Jostein Austvik Jacobsen wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I've reduced the issue to a very basic HTML file. This is the HTML:<br>
<br>
<!DOCTYPE html><br>
<html xmlns="<a href="http://www.w3.org/1999/xhtml" target="_blank">http://www.w3.org/1999/<u></u>xhtml</a>"><br>
<head><br>
<title>Title</title><br>
<link<br>
href="//<a href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" target="_blank">netdna.bootstrapcdn.<u></u>com/twitter-bootstrap/2.3.1/<u></u>css/bootstrap-combined.min.css</a><br>
</div>
<<a href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" target="_blank">http://netdna.bootstrapcdn.<u></u>com/twitter-bootstrap/2.3.1/<u></u>css/bootstrap-combined.min.css</a><u></u>>"<div class="im">
<br>
rel="stylesheet" /><br>
</head><br>
<body><br>
<h1>Headline</h1><br>
<p>Paragraph <b>bold</b> <i>italic</i></p><br>
</body><br>
</html><br>
<br>
I've attached this HTML-file as well as screenshots of what happens when<br>
the link element is commented out.<br>
<br>
My oXygen version is: <oXygen/> XML Editor 14.2, build 2013021115.<br>
<br>
<br>
Jostein<br>
<br>
<br>
On 16 May 2013 10:04, George Cristian Bina <<a href="mailto:george@oxygenxml.com" target="_blank">george@oxygenxml.com</a><br></div><div class="im">
<mailto:<a href="mailto:george@oxygenxml.com" target="_blank">george@oxygenxml.com</a>>> wrote:<br>
<br>
Dear Jostein,<br>
<br>
Following the link you provided I see a sample file<br></div>
<a href="http://twitter.github.io/__bootstrap/base-css.html" target="_blank">http://twitter.github.io/__<u></u>bootstrap/base-css.html</a><div><div class="h5"><br>
<<a href="http://twitter.github.io/bootstrap/base-css.html" target="_blank">http://twitter.github.io/<u></u>bootstrap/base-css.html</a>><br>
This does not work in Author mode because it is not XML wellformed -<br>
the oXygen XML Author requires the document to be wellformed. There<br>
are indeed also some CSS errors but they should not be critical.<br>
The solution will be to make the document wellformed. oXygen may<br>
help in two ways<br>
- reporting the errors and you can manually fix them<br>
- use the File -> Import -> HTML File to get an XHTML file<br>
<br>
If your experience is different maybe you can make available a<br>
sample file to allow us to reproduce the same behavior? Then we<br>
should be able to provide more help.<br>
<br>
Best Regards,<br>
George<br>
--<br>
George Cristian Bina<br>
<br>
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger<br>
<a href="http://www.oxygenxml.com" target="_blank">http://www.oxygenxml.com</a><br>
<br>
On 5/7/13 2:10 PM, Jostein Austvik Jacobsen wrote:<br>
<br>
I'd like to edit a website in oXygen. The website is based on<br>
Twitter<br>
Bootstrap. However, the CSS included with Bootstrap is invalid[1].<br>
<br>
I just want to be able to add some paragraphs, headlines, images<br>
etc. to<br>
the HTML, nothing fancy, but since the CSS files doesn't<br>
validate, the<br>
Author mode doesn't display anything useful. Is it possible to<br>
ignore<br>
the CSS errors somehow and just display the HTML as if no CSS<br>
files were<br>
associated?<br>
<br></div></div>
[1] <a href="https://github.com/twitter/__bootstrap/issues/6398" target="_blank">https://github.com/twitter/__<u></u>bootstrap/issues/6398</a><br>
<<a href="https://github.com/twitter/bootstrap/issues/6398" target="_blank">https://github.com/twitter/<u></u>bootstrap/issues/6398</a>><br>
<br>
Jostein<br>
<br>
<br>
______________________________<u></u>___________________<br>
oXygen-user mailing list<br>
<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.com</a> <mailto:<a href="mailto:oXygen-user@oxygenxml.com" target="_blank">oXygen-user@oxygenxml.<u></u>com</a>><br>
<a href="http://www.oxygenxml.com/__mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/__<u></u>mailman/listinfo/oxygen-user</a><br>
<<a href="http://www.oxygenxml.com/mailman/listinfo/oxygen-user" target="_blank">http://www.oxygenxml.com/<u></u>mailman/listinfo/oxygen-user</a>><br>
<br>
<br>
</blockquote>
</blockquote></div><br></div>