Re: [Hypercontent-users] Problem with setting up dtd definition
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-05-12 20:08:51
|
Hi Philip, My first suggestion is to add the leading "/" on the dtd = location:=20 "/dtd/docbook.dtd". You can check the portal log for stack traces,=20 which are handy. What version of uPortal are you running? A doctype=20 does not need to have any forms of output associated with it, and if=20 there is an error parsing the DTD or XML it should display the parsing=20= error. The root can be any element in your DTD. The sitemap is optional - it's just a specific XML document type that=20 the system applies special processing to before it's included, which=20 you can use to set up templates for the site map or navigation=20 structures. You can have none of them, one of them, or as many as you=20= want. You can use your own custom includes & xslt to set up navigation=20= structures, in fact that was the only way prior to version 1.4. The=20 navigation document type was specifically designed to make it easy to=20 do manual sorting of navigation elements in the drag & drop navigation=20= editor, as well as move the logic of sorting and labeling navigation=20 elements out of XSL. We actually use this document type to manage=20 pushed bookmarks channels at Columbia - it is displayed as a nested=20 list of bookmarks, which can be added, updated and re-ordered using the=20= same navigation editor by non-technical users. -Alex On May 12, 2005, at 2:49 PM, Philip Rinehart wrote: > I'm having a problem setting up the definition of a particular section=20= > of my test website. I've specified the dtd I want to use, which is in=20= > the repository, as well as the editor key. Here's what the line looks=20= > like: > > =A0 <xml-doctype definition=3D"dtd/docbook.dtd" label=3D"First = Section"=20 > path=3D"/*/index.xml" root=3D"body"> > =A0 =A0 <editor key=3D"xml"/> > =A0 </xml-doctype> > > However, when I attempt to do anything to the index.xml file I end up=20= > with the following error: > > Error performing changeEditor: PortalException has no ErrorID=20 > (org.jasig.portal.PortalException) > > > It's not clear to me why this is happening. Should I be using a=20 > different root? does it have to have a transform associated with it?=20= > Everything else makes sense to me, and I've been able to get resource=20= > directories working without issue, etc. > > Also, does every hypercontent site need a sitemap, or can that be=20 > omitted? > > Philip > > Philip Rinehart > Academic Media & Technology > Cluster Support Services > 203-432-6573 > clu...@ya... > phi...@ya... > > > |