[wpkg-users] [Bug 257] New: XML error when using templates

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Mon Nov 21 09:57:59 CET 2011


http://bugzilla.wpkg.org/show_bug.cgi?id=257

           Summary: XML error when using templates
           Product: WPKG
           Version: 1.2.1-RCx
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at wpkg.org
        ReportedBy: ftrojahn at smi-softmark.de
         QAContact: wpkg-users at lists.wpkg.org


Starting with 1.2.1-RC42 up to RC46, I get the following error when using XML
templates:

2011-11-21 09:34:12, DEBUG   : Reading XML file:
//smilux/install/packages/firefox-ext-aardvark.xml
2011-11-21 09:34:12, ERROR   : Message:      Versuch, einen
schreibgesch<FC>tzten Knoten zu <E4>ndern.||Description:  Versuch, einen
schreibgesch<FC>tzten Knoten zu <E4>ndern.||Error number: 80004005|Stack:      
 undefined|Line:         undefined

contents of firefox-ext-aardvark.xml:

<!DOCTYPE firefoxextension [ <!ENTITY ext-name "aardvark"> <!ENTITY ext-key
"3.0_ff8"> <!ENTITY ff-extension SYSTEM "../templates/ff-extension.xml"> ]>
<packages>&ff-extension;</packages>

contents of templates/ff-extension.xml

<package id='firefox-ext-&ext-name;' name='Firefox Extension &ext-name;'
revision='&ext-key;' priority='15'>
    <variable name='fxext' value='&ext-name;-&ext-key;'/>
    <variable name='fxname' value='&ext-name;-'/>
  <check type="logical" condition="or">
    <check type="file" condition="exists" path="%CommonProgramFiles%\Mozilla
Shared\Extensions\%FXEXT%\install.rdf" />
    <check type="file" condition="exists"
path="%CommonProgramFiles(x86)%\Mozilla Shared\Extensions\%FXEXT%\install.rdf"
/>
  </check>
    <depends package-id="firefox-check" />
    <install cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox
%FXEXT% >c:\netinst\logs\%FXEXT%-install.log'/>
    <upgrade cmd='%SOFTWARE%\tools\pskill.exe firefox.exe'> <exit code="-1" />
</upgrade>
    <upgrade cmd='"%SOFTWARE%\packages\mozilla\clean-extensions.cmd" Firefox
%FXEXT% %FXNAME%>c:\netinst\logs\%FXNAME%-upgrade.log'/>
    <upgrade cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd" Firefox
%FXEXT% >c:\netinst\logs\%FXEXT%-upgrade.log'/>
    <downgrade cmd='%SOFTWARE%\tools\pskill.exe firefox.exe'> <exit code="-1"
/> </downgrade>
    <downgrade cmd='"%SOFTWARE%\packages\mozilla\clean-extensions.cmd" Firefox
%FXEXT% %FXNAME%>c:\netinst\logs\%FXNAME%-downgrade.log'/>
    <downgrade cmd='"%SOFTWARE%\packages\mozilla\install-extensions.cmd"
Firefox %FXEXT% >c:\netinst\logs\%FXEXT%-downgrade.log'/>
    <remove cmd='"%SOFTWARE%\packages\mozilla\remove-extensions.cmd" Firefox
%FXEXT% >c:\netinst\logs\%FXEXT%-remove.log'/>
    <remove cmd='cmd /c if exist "%CommonProgramFiles%\Mozilla
Shared\Extensions\%FXEXT%\" rmdir /s /q "%CommonProgramFiles%\Mozilla
Shared\Extensions\%FXEXT%\"' />
    <remove cmd='cmd /c if exist "%CommonProgramFiles(x86)%\Mozilla
Shared\Extensions\%FXEXT%\" rmdir /s /q "%CommonProgramFiles(x86)%\Mozilla
Shared\Extensions\%FXEXT%\"' />
</package>

Don't know if this is a bug in wpkg.js or if I have to change my XML files.

Further informations what I use here:
http://wpkg.org/Firefox_ext_install_downloads

Thanx,
Falko

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the wpkg-users mailing list