[opencms-dev] saving existing content after the .xsd and jspmodified

Kodumuri, Madhavi MKodumuri at cme.com
Thu Jan 26 21:22:41 CET 2006


Thanks a lot for your information,

Madhavi


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Achim Westermann
Sent: Monday, January 23, 2006 1:14 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] saving existing content after the .xsd and
jspmodified

Hi Madhavi,

1) Before creating xmlcontent files for production the xsd (data design)

should be reviewed carefully until it is stable.

2) Later changes will break the xsd as you experienced. A recommondation

is to first make things to remove optional (minOccurs="0") and then open

each content with the editor. You then can remove all those elements 
with a click and save. Finally one can remove the element really from 
the xsd. The same goes with new data: First add it as optional, then add

the elements with the editor before declaring them mandatory.

3) If it comes to the point you experienced it is only possible to open 
these files with "edit controlcode" and then manually remove / add the 
elements from / to the xml code. Don't forget to edit each language node

that is defined.

kind regards,

Achim

Kodumuri, Madhavi wrote:
> Hello everyone,
> 
>  
> 
> My question concerns editing HTML content after modifying the .xsd 
> template that it uses. If I delete an element from the XSD and the JSP

> template, and try to edit the content that uses that template, I can
no 
> longer make changes and save, because I keep getting errors that the 
> element I deleted is missing. Is there a solution to this? Please
help!
> 
> 
> Thanks in advance,
> 
> *//**/Madhavi Kodumuri/*
> 
> 
>
------------------------------------------------------------------------
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list