Re: [Hypercontent-users] xmlns:xmlns:cms problem ! and caching
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-10-05 11:06:11
|
Hi Masood/Alex I'm also getting xmlns:xmlns:cms = "http://www.ais.columbia.edu/sws/xmlns/cucms#" in <image> <br> and <a> tags. I have the attribute exclude-result-prefixes="xsl cms cfs rdf dc vcard" in my root level stylesheet but the editor still seems to but it in. Did anyone get the bottom of the problem? Thanks Carl Alex Vigdor wrote: > HI Masood, > Try adding this attribute to your root level xsl:stylesheet > > exclude-result-prefixes="xsl cms cfs rdf dc vcard" > > This removes all those prefixes from the output XML. > > The caching problem is between the web server and the browser; HC2.0 > addresses this by using its own built-in web server that forces the > client to revalidate content with every request. Since HC1.4 relies on > an external web server, you can either > > 1) configure that server to force revalidation; e.g. Apache with > mod_headers > > Header set Cache-Control: "must-revalidate" > > 2) set the browser to "check every time" if content is fresh > > > -Alex > > On Sep 17, 2005, at 3:22 AM, Masood Moshref wrote: > >> Hi >> I have a problem with namespaces that added automaticly to root >> element by hypercontent >> i attached input xml ,xsl and output. >> the output is good in any program but when I use it on Hypercontent >> the expression "xmlns:xmlns:cms" is added to root element >> another problem is when users change this xml file, output do not >> changes until users delete their temporary internet files and press >> F5. I use Hypercontent 1.4 on uPortal. >> >> Please help me >> Tanks a lot >> >> Yahoo! for Good >> Click here to donate to the Hurricane Katrina relief effort.WARNING: >> This message has been altered by a mail filter on >> Columbia University's mail server, columbia.edu. >> >> For information on our filtering policy, please see >> http://www.columbia.edu/acis/email/filters/ >> >> An attachment named media.xsl >> was removed from this message as a possible security hazard. >> >> <?xml version="1.0" encoding="UTF-8"?> >> <cms:wrapper >> xmlns:cms="http://www.ais.columbia.edu/sws/xmlns/cucms#"><cms:source >> directory="/subprject/SCO/sco2/" path="/subprject/SCO/sco2/media.xml" >> filename="media.xml" pattern="/*/SCO/*/media.xml" basename="media" >> type="text/xml"><Media><Sounds><Sound >> Address="/subprject/SCO/sco2/resource/test.mp3" >> Code="21"/></Sounds></Media><rdf:RDF >> xmlns:j.0="http://www.ais.columbia.edu/sws/xmlns/cufs#" >> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >> xmlns:j.1="http://purl.org/dc/elements/1.0/" >> xmlns:j.2="http://www.ais.columbia.edu/sws/xmlns/cucms#"> >> <j.0:File rdf:about="/subprject/SCO/sco2/media.xml"> >> <j.1:creator>Unrecognized person: admin</j.1:creator> >> <j.2:comment></j.2:comment> >> <j.2:editor>admin</j.2:editor> >> <j.1:type>http://purl.org/dc/dcmitype/Text</j.1:type> >> <j.1:format>text/xml</j.1:format> >> <j.1:date>2005-09-08</j.1:date> >> <j.1:identifier>/subprject/SCO/sco2/media.xml</j.1:identifier> >> </j.0:File> >> </rdf:RDF> >> </cms:source><cms:include directory="/" path="/root.xml" >> filename="root.xml" pattern="/root.xml" basename="root" >> type="text/xml"><Root Navigation="Enable" Scorm="Disable"><Images >> Down="footer.jpg" RightImage="right.jpg" >> TopCenterImage="topcenter.jpg" TopLeftImage="topleft.jpg" >> TopNav="topnav.jpg" TopRightImage="topright.jpg"/><Texts >> Advertisement="Ø¢Ú¯Ù‡ÛŒ" CopyRight="Ù >> رکز IT شریÙ" Designer="شرکت سی٠>> ین نگار شریÙ" Glossary="واژه نا٠>> Ù‡" ImportantTexts="نکات Ù >> Ù‡Ù >> :" KeyWords="Ú©Ù„Ù >> ات کلیدی" Navigation="پی٠>> ایش" SelectedImage="تصور Ù >> نتخب" SubjectList="Ùهرست Ù >> وضوعی" TOC="Ùهرست" >> Top="بالا"/></Root></cms:include></cms:wrapper><?xml >> version="1.0" encoding="UTF-8"?> >> <Media xmlns:xmlns:cms="http://www.ais.columbia.edu/sws/xmlns/ >> cucms#"><Sounds><Sound stream="0" >> Address="../../../subprject/resource/test.mp3" Code="1" Fade="None" >> Minutes="" Seconds=""/><Sound >> xmlns:vcard="http://www.ais.columbia.edu/sws/xmlns/vcard3.0#" >> xmlns:dc="http://purl.org/dc/elements/1.0/" >> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >> xmlns:cfs="http://www.ais.columbia.edu/sws/xmlns/cufs#" >> xmlns:cms="http://www.ais.columbia.edu/sws/xmlns/cucms#" >> Address="http://sarzamin.org/sarzaminmusic/persian/128KB/Saman/ >> 02_%20Did%20Goftam.mp3" stream="1" Code="2" Minutes="4" >> Seconds="38"/></Sounds><Images><ImageShow Code="1"><Image >> Address="../../../subprject/resource/image1.jpg" >> SmallImage="../../../subprject/resource/image1small.jpg" >> Title="اولین تصویر ا٠>> ØªØØ§Ù†ÛŒ"/><Image Address="../../../subprject/resource/image2.jpg" >> SmallImage="../../../subprject/resource/image2small.jpg" Title="دو٠>> ین تصویر ا٠>> ØªØØ§Ù†ÛŒ"/><Image Address="../../../subprjec >> t/resource/image3.jpg" SmallImage="" Title="سو٠>> ین تصویر ا٠>> ØªØØ§Ù†ÛŒ"/><Image Address="../../../subprject/resource/image1.jpg" >> SmallImage="../../../subprject/resource/image1small.jpg" >> Title="چهار٠>> ین تصویر ا٠>> ØªØØ§Ù†ÛŒ"/><Image Address="../../../subprject/resource/image2.jpg" >> SmallImage="../../../subprject/resource/image2small.jpg" >> Title="اولین تصویر ا٠>> ØªØØ§Ù†ÛŒ"/><Image Address="../../../subprject/resource/image3.jpg" >> SmallImage="" Title="اولین تصویر ا٠>> ØªØØ§Ù†ÛŒ"/><Image Address="../../../subprject/resource/image1.jpg" >> SmallImage="" Title="اولین تصویر ا٠>> ØªØØ§Ù†ÛŒ"/></ImageShow></Images></Media> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |