[CPS-devel] XML profiles charset

JoseLuis de la Rosa Triviño joseluis.rosa at iavantefundacion.com
Wed Mar 15 17:16:21 CET 2006


Hello everybody, 

 

I'm creating my own product for CPS 3.4 and I get this traceback when I try to install the profile.

 

################################################

Traceback (most recent call last):

  File "/opt/zope2.9/lib/python/ZPublisher/Publish.py", line 114, in publish

    request, bind=1)

  File "/opt/zope2.9/lib/python/ZPublisher/mapply.py", line 88, in mapply

    if debug is not None: return debug(object,args,context)

  File "/opt/zope2.9/lib/python/ZPublisher/Publish.py", line 40, in call_object

    result=apply(object,args) # Type s<cr> to step into published object.

  File "/root/instances/zope2.9/bpiDes/Products/CPSCore/setuptool.py", line 291, in manage_importProfile

    self.importProfile(context_id)

  File "/root/instances/zope2.9/bpiDes/Products/CPSCore/setuptool.py", line 224, in importProfile

    result = self.runAllImportSteps(purge_old=False)

  File "/root/instances/zope2.9/bpiDes/Products/GenericSetup/tool.py", line 248, in runAllImportSteps

    message = self._doRunImportStep(step, context)

  File "/root/instances/zope2.9/bpiDes/Products/GenericSetup/tool.py", line 716, in _doRunImportStep

    return handler(context)

  File "/root/instances/zope2.9/bpiDes/Products/CPSSchemas/exportimport/vocabulary.py", line 56, in importVocabularyTool

    importObjects(tool, '', context)

  File "/root/instances/zope2.9/bpiDes/Products/GenericSetup/utils.py", line 748, in importObjects

    importObjects(sub, path+'/', context)

  File "/root/instances/zope2.9/bpiDes/Products/GenericSetup/utils.py", line 744, in importObjects

    importer.body = body

  File "/root/instances/zope2.9/bpiDes/Products/GenericSetup/utils.py", line 509, in _importBody

    raise ExpatError('%s: %s' % (filename, e))

ExpatError: vocabularies/action_field.xml: not well-formed (invalid token): line 11, column 47

###########################################

 

The line in question is:  

 

<item key="Desempenno Profesional"

    msgid="label_iav_desempProfesional">Desempeño Profesional</item>

 

Should I avoid non ascii characters and use them only in the i18n message? Or is there another way to mend this ExpatError?

 

Thank you very much.

JoseLuis de la Rosa Triviño 
Becario Área de Sistemas de Información 
FUNDACIÓN IAVANTE 
joseluis.rosa at iavantefundacion.com 
Tel. 951 015 300 

 

Este correo electrónico y, en su caso, cualquier fichero anexo, contiene información confidencial exclusivamente dirigida a su(s) destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE.

This e-mail and any attachments are confidential and exclusively directed to its adressee(s). Any copy or distribution will have to be authorized by IAVANTE.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060315/c1ec0d06/attachment.html


More information about the cps-devel mailing list
More information about CPS: CPS project - CVS - API

Hosting: Nuxeo: Zope service provider


This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.