[Laszlo-dev] Re: RES: RES: [Laszlo-user] Build my component´s reference page

Sarah Allen sallen at laszlosystems.com
Thu Jan 26 10:49:27 PST 2006


It looks like it must be using an XML library that only supports ascii 
or maybe its not reading the file with a correct setting.  I don't know 
if the orginal author has time right now to look into it, but all the 
source is there, so you or anyone or else who speaks python could fix 
it.  cc'ing laszlo-user and laslzo-dev  in case there are any community 
volunteers who might take a look at it.

Right now, all our internal docs are in English, so plain old ascii 
works for us.

Sarah

Dionatan de Almeida wrote:

>I changed the editor encoding and added the following at top of file:
><?xml version="1.0" encoding="UTF-8"?>
>
>Then run the tool and got the following error:
>Traceback (most recent call last):
>  File "c:\openlaszlo\lps-3.1-src\lzxdoc\lzx2html.py", line 282, in ?
>    main()
>  File "c:\openlaszlo\lps-3.1-src\lzxdoc\lzx2html.py", line 274, in main
>    buildHtmlFromLzxDirs(verbose, args, outputdir, configdir, tagdir, blankschem
>a, cssfile, cssfilename, xslfile);
>  File "c:\openlaszlo\lps-3.1-src\lzxdoc\lzx2html.py", line 108, in buildHtmlFro
>mLzxDirs
>    curElement.toxml(Writer(f))
>  File "c:\openlaszlo\lps-3.1-src\lzxdoc\xmldocutils.py", line 100, in toxml
>    handler.text(v)
>  File "c:\openlaszlo\lps-3.1-src\lzxdoc\xmldocutils.py", line 72, in text
>    self.out.write(encode(s))
>UnicodeError: ASCII encoding error: ordinal not in range(128)
>
>-----------------------------------
>Dionatan
>
>-----Mensagem original-----
>De: Sarah Allen [mailto:sallen at laszlosystems.com] 
>Enviada em: quinta-feira, 26 de janeiro de 2006 16:24
>Para: Dionatan de Almeida
>Cc: laszlo-user at openlaszlo.org
>Assunto: Re: RES: [Laszlo-user] Build my component´s reference page
>
>
>LZX files should be UTF-8 encoded.
>
>Dionatan de Almeida wrote:
>
>  
>
>>Sarah, thanks for help.
>>I get the lzxdoctool but when I try to run it a lot of messages about "wrong" characters are displayed:
>>
>>plcbotaomenu.lzx: not well-formed (invalid token): line 3, column 33
>>
>>line 3:
>>	<!--- Botão utilizado na composição da barra de botões, personalizada de acordo com
>>
>>What is the correct encoding to use in lzx files? 
>>-----------------------------------
>>Dionatan
>>
>>-----Mensagem original-----
>>De: Sarah Allen [mailto:sallen at laszlosystems.com] 
>>Enviada em: terça-feira, 24 de janeiro de 2006 23:59
>>Para: Dionatan de Almeida
>>Cc: laszlo-user at openlaszlo.org
>>Assunto: Re: [Laszlo-user] Build my component´s reference page
>>
>>
>>There is also a stand-alone utility that we created for internal 
>>documentation of Laszlo Mail.  You can find it on the wiki here: 
>>http://wiki.openlaszlo.org/LzxdocTool  This doesn't require creating 
>>wrapper pages, instead it has additional markup for including example code.
>>
>>Sarah Allen
>>Director of Engineering
>>Laszlo Applications Group
>>
>>Dionatan de Almeida wrote:
>>
>> 
>>
>>    
>>
>>>Is there some utility to build reference pages for proprietary 
>>>components like OpenLaszlo reference page?
>>>
>>>Dionatan de Almeida
>>>Sun Certified Java Programmer
>>>Sun Certified Web Component Developer
>>>
>>>**Powerlogic** Consultoria e Sistemas S.A.
>>>Desenvolvimento Java
>>>Fone: (031)3286-1691 Celular: (031) 9784-4248
>>>e-mail: dionatan at powerlogic.com.br <mailto:dionatan at powerlogic.com.br>
>>>Visite o site: http://www.powerlogic.com.br
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>Laszlo-user mailing list
>>>Laszlo-user at openlaszlo.org
>>>http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>>>
>>>
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>
>  
>



More information about the Laszlo-dev mailing list