[opencms-dev] errors while trying to develop with openCMS

Bernd Wolfsegger bw at code-create.com
Tue Oct 25 14:50:48 CEST 2005


On Tuesday, 25. October 2005 15:31, Bernd Wolfsegger wrote:
> Many thanx for this clarification Alex.
>
> But I think, the following nodes are specially handled than, because they
> do not belong to a type and they seem not to be included inside the
> getSchemaBytes() method.
>
> xsd:annotation
> xsd:appinfo

O.k. forget this one :) Sure annotation is handled specially ...

But IS there an attribute to control the frozen state?

>
> This questioning has another reason. I thought, perhaps there is an
> attribute, which can be set in the mappings mapping nodes to prevent this
> "frozen" error message after changing property mapped fields and saving the
> resource.
>
> Kr, Bernd
>
> On Tuesday, 25. October 2005 14:42, Alexander Kandzior wrote:
> > "opencms-xmlcontent.xsd" does not exist as a file. The content XML of
> > this file is dynamically generated from the configured XML type classes
> > (org.opencms.xml.types package) and stored "in memory" using a custom XML
> > entity resolver.
> >
> > Each type contributes it's schema definition part using the method
> > I_CmsXmlSchemaType#getSchemaDefinition().
> >
> > The parts are collected in
> > org.opencms.xml.CmsXmlContentTypeManager#getSchemaBytes().
> >
> > Best Regards,
> > Alex.
> >
> > Alexander Kandzior
> > Alkacon Software - The OpenCms Experts
> > http://www.alkacon.com
> >
> > > -----Original Message-----
> > > From: opencms-dev-bounces at opencms.org
> > > [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Bernd Wolfsegger
> > > Sent: Tuesday, October 25, 2005 1:11 PM
> > > To: opencms-dev at opencms.org
> > > Subject: Re: [opencms-dev] errors while trying to develop with openCMS
> > >
> > > Unfortunately not Martin; these are just sample cmlcontent
> > > schemas for testing functionality. They also reference the
> > > opencms-xmlcontent.xsd inside, but it is nowhere to be found :(.
> > >
> > > Without the opencms-xmlcontent.xsd it is not possible to use
> > > the full functionality of a graphical XSD Editor, because all
> > > the OpenCms element types can not be found for selection.
> > >
> > > Kr, Bernd
> > >
> > > On Tuesday, 25. October 2005 13:47, Martin van den Bemt wrote:
> > > > Sorry Bernd my mistake, i read over the
> > >
> > > opencms-xmlcontent.xsd and was
> > >
> > > > still assuming that your were searching for the
> > > > opencms-configuration.dtd. Bad reading on my part cannot
> > >
> > > find the xsd
> > >
> > > > in my source checkout, although there are some xsd's
> > > >   in test\org\opencms\xml\content which may be the same as
> > >
> > > the one you
> > >
> > > > need (like the xmlcontent-definition-1.xsd).
> > > >
> > > > Mvgr,
> > > > Martin
> > > >
> > > > Bernd Wolfsegger wrote:
> > > > > Hm, I have a 6.0.0 checkout too, but where did you find it there?
> > > > > Perhaps, can you simply post the file here?
> > > > >
> > > > > Kr, Bernd
> > > > >
> > > > > On Tuesday, 25. October 2005 12:15, Martin van den Bemt wrote:
> > > > >>I found them in my source checkout.
> > > > >>They are at least in the branch 6_0_0.
> > > > >>
> > > > >>Mvgr,
> > > > >>Martin
> > > > >>
> > > > >>Bernd Wolfsegger wrote:
> > > > >>>Unfortunately opencms-xmlcontent.xsd is not stored in the
> > > > >>>opencms.jar in org/opencms/configuration ..., not even
> > >
> > > in the CVS
> > >
> > > > >>>source in that package. I don't know why there is such a mistery
> > > > >>>about this xsd and nobody can tell where it is to be found.
> > > > >>>
> > > > >>>Kr, Bernd
> > > > >>>
> > > > >>>On Monday, 24. October 2005 14:42, Martin van den Bemt wrote:
> > > > >>>>I think the dtd's are stored in the opencms.jar in
> > > > >>>>org/opencms/configuration.
> > > > >>>>It's too bad a lot of these resolver issues are there. Eg at
> > > > >>>>apache webservers a huge number of client hit the
> > >
> > > webserver for the dtd's.
> > >
> > > > >>>>These problema arise when the IDE or xml editor doesn't support
> > > > >>>>mapping the urls to local dtd's.
> > > > >>>>
> > > > >>>>Mvgr,
> > > > >>>>Martin
> > > > >>>>
> > > > >>>>omar abujiab wrote:
> > > > >>>>>thanx Martin,
> > > > >>>>>
> > > > >>>>>however i tried to locate the DTDs on my file system
> > >
> > > and non of
> > >
> > > > >>>>>them has been located on the file system do I need to download
> > > > >>>>>them from somewhere I mean is that heppening with everybody or
> > > > >>>>>its just my IDE or any other related configuration ?
> > > > >>>>>
> > > > >>>>>Thanx
> > > > >>>>>
> > > > >>>>>--- Martin van den Bemt <mvdb at ibl-software.nl> wrote:
> > > > >>>>>>Assuming you use an eclipse based development
> > >
> > > environment (which
> > >
> > > > >>>>>>has the web module) you can add this one to
> > > > >>>>>>Window/Preferences/Web and Xml/XML Catalog and let the dtd
> > > > >>>>>>resolve to your filesystem.
> > > > >>>>>>
> > > > >>>>>>Mvgr,
> > > > >>>>>>Martin
> > > > >>>>>>
> > > > >>>>>>omar abujiab wrote:
> > > > >>>>>>>hi,
> > > > >>>>>>>
> > > > >>>>>>>I keep getting the following erro while working on open CMS
> > > > >>>>>>>with eclipse IDE
> > > > >>>>>>>
> > > > >>>>>>>File not found:
> > > > >>>>>
> > > > >>>>>"http://www.opencms.org/dtd/6.0/opencms-configuration.dtd".
> > > > >>>>>
> > > > >>>>>>>this gose for several XML files beside this one.
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>I have imported opencms 6.0.2 WAR to my IDE to
> > > > >>>>>>
> > > > >>>>>>start
> > > > >>>>>>
> > > > >>>>>>>development and it prevents the code from getting coompiled.
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>thanks.
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>__________________________________
> > > > >>>>>>>Yahoo! Mail - PC Magazine Editors' Choice 2005
> > > > >>>>>>>http://mail.yahoo.com
> > > > >>>>>>>
> > > > >>>>>>>
> > > > >>>>>>>_______________________________________________
> > > > >>>>>>>This mail is send to you from the opencms-dev
> > > > >>>>>>
> > > > >>>>>>mailing list
> > > > >>>>>>
> > > > >>>>>>>To change your list options, or to unsubscribe
> > > > >>>>>>
> > > > >>>>>>from the list, please visit
> > > > >>>>>>
> > > > >>>>>>http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > > >>>>>>
> > > > >>>>>>
> > > > >>>>>>_______________________________________________
> > > > >>>>>>This mail is send to you from the opencms-dev mailing list To
> > > > >>>>>>change your list options, or to unsubscribe from the list,
> > > > >>>>>>please visit
> > > > >>>>>>http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > > >>>>>
> > > > >>>>>__________________________________
> > > > >>>>>Yahoo! Mail - PC Magazine Editors' Choice 2005
> > > > >>>>>http://mail.yahoo.com
> > > > >>>>>
> > > > >>>>>
> > > > >>>>>_______________________________________________
> > > > >>>>>This mail is send to you from the opencms-dev mailing list To
> > > > >>>>>change your list options, or to unsubscribe from the
> > >
> > > list, please
> > >
> > > > >>>>>visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> > > > >>>>
> > > > >>>>_______________________________________________
> > > > >>>>This mail is send to you from the opencms-dev mailing list To
> > > > >>>>change your list options, or to unsubscribe from the
> > >
> > > list, please
> > >
> > > > >>>>visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> > >
> > > --
> > >
> > > [  Code Create
> > > [  Web Content Management and Presentation
> > >
> > >
> > > [  Bernd Wolfsegger
> > > [  Sun Certified Programmer for Java(TM) 2 Platform
> > >
> > >
> > > [  Lohmeyerstrasse 13
> > > [  10587 Berlin
> > > [  Germany
> > > [  Fon +49 (0)30 26555788
> > > [  Fax +49 (0)30 2651835
> > > [  Mobile +49 (0)163 6505622
> > >
> > > [  bw at code-create.com
> > > [  http://www.code-create.com/
> > >
> > >
> > >
> > > _______________________________________________
> > > This mail is send to you from the opencms-dev mailing list To
> > > change your list options, or to unsubscribe from the list,
> > > please visit http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list