[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [oic] OIC SVN Web Manifests - Challenges
Bart, I got the XHTML to serve up properly from the OIC SVN Server by copying into my sandbox folder at SpecAnalysis/construction/sandbox/3/ 1. Notice that <http://tools.oasis-open.org/version-control/svn/oic/SpecAnalysis/constructi on/sandbox/3/001.html> serves up properly. 2. All I did was copy the folder at <http://tools.oasis-open.org/version-control/svn/oic/TestSuite/branches/bart h/odf12/scenarios/part3/3/3/>. 3. I then updated the layout.css link to have the actually layout.css file (since the 001.html file refers to the link location by relative URL). 4. I think the difference is the file mime.types that is at <http://tools.oasis-open.org/version-control/svn/oic/SpecAnalysis/>. Try something similar at TestSuite/ or TestSuite/branches/barth/ to see if that works for your material in its location. 5. That should take care of the XHTML being recognized properly by browsers. To get the CSS to work, you'll have to make a copy in the same folder or else change the XHTML to refer to a global location of a CSS file that is used by multiple XHTML pages. - Dennis PS: When I open the file from my file system, my browser recognizes the XHTML because of its filename extension, it seems. The problem on pages from the SVN Server is that is won't provide an appropriate MIME type in the HTTP response header automatically. -----Original Message----- From: Dennis E. Hamilton [mailto:dennis.hamilton@acm.org] http://lists.oasis-open.org/archives/oic/200912/msg00030.html Sent: Thursday, December 10, 2009 14:02 To: 'Hanssens Bart'; oic@lists.oasis-open.org Subject: [oic] OIC SVN Web Manifests - Challenges [ ... ] For example, I can open the 001.html file at <http://tools.oasis-open.org/version-control/svn/oic/TestSuite/branches/bart h/odf12/scenarios/part3/3/3/> by navigation through the browser. I can also access the file by directly accessing <http://tools.oasis-open.org/version-control/svn/oic/TestSuite/branches/bart h/odf12/scenarios/part3/3/3/001.html> ** PROVIDED THAT THE svn:mime-type IS SET PROPERLY OR THE HTTP content-type IS SET PROPERLY BY SOME OTHER MEANS **. (Browser access to the page will work, but it may be rendered as XML in the browser instead of being rendered as an XHTML page. I notice that IE 8 loads the document as an XML document with color coding, bracket matching, and element indentation, whereas Google Chrome opens it as a plain text file. Solutions are needed that work with a range of common browsers and that gain the cooperation of the OIC SVN repository web-server functionality as well.) Compare with <http://tools.oasis-open.org/version-control/svn/oic/SpecAnalysis/constructi on/>, <http://tools.oasis-open.org/version-control/svn/oic/SpecAnalysis/constructi on/index.htm>, and <http://tools.oasis-open.org/version-control/svn/oic/SpecAnalysis/constructi on/construction.htm> where I have managed to convince the OIC SVN Server to cough up an HTML MIME type. [ ... ]
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]