Jens Geile schrieb:
>> The .xml files generated from my database however aren't working at all for 
>> some reason...
>> The all exit with:
>>
>> Could not install XYZ
>> Failed checking after installation
>>
>> The problem is that I can't find any differences between the handwritten 
>> packages.xml and the packages.xml generated from my database. hosts.xml and 
>> profiles.xml are working perfectly fine...
>> Any ideas?
> Great ... I finally found out what was causing all this ....
> My XML files contained
> <Install cmd=....
> <Upgrade cmd=...
> <Remove cmd=...
> 
> After writing "install" instead of "Install", "upgrade" instead of "Upgrade" 
> and "remove" instead of "Remove" everything magically worked fine ...
> 
> So it basically boils down to: Could you _please_ make the xml parser 
> case-_IN_sensitive? The XML "definition" says that it doesn't matter how an 
> element is written. You can write "Install", "iNSTALL", "iNsTaLl" and it's 
> all the same.

Hmm...

http://www.w3.org/TR/xhtml1/#h-4.2

4.2. Element and attribute names must be in lower case

XHTML documents must use lower case for all HTML element and attribute 
names. This difference is necessary because XML is case-sensitive e.g. 
<li> and <LI> are different tags.


-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to