Graham Leggett wrote:

Using Java v1.4.2 + Tomcat v5.0.28 on Windows XP, the saving of the file completes successfully, but the subsequent loading back in of the file fails with a UTFDataFormatException.

Oops - forgot to attach the offending file.

Regards,
Graham
--
<?xml version="1.0" encoding="UTF-8"?>
<DRESSCODE-WORKBOX ordernumber="2005-02-28-1"
    path="PnP/retail/supermarkets/family/pnp-retail-family-businesscard.dcxml"
    preferred-name="" removed="false"
    template-name="Family Supermarket Business Card" template-serial="$Revision: 1.3 $">
    <REPLACE attribute="storename"
        id="familycompanynamexxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        name="Store Name" pad=" "
        signature="familycompanynamexxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        template-align="right" template-encoding="freehand-kludge"
        thumbnail-align="right" thumbnail-encoding="US-ASCII"
        type="text" value=""/>
    <REPLACE attribute="personalname"
        id="namexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        name="Name" pad=" "
        signature="namexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        template-align="left" template-encoding="freehand-kludge"
        thumbnail-align="centre" thumbnail-encoding="US-ASCII"
        type="text" value=":Ra��"/>
    <REPLACE attribute="telephoneNumber" id="telephone" maxlength="19"
        name="Telephone" type="text" value=""/>
    <REPLACE attribute="fax" id="fax" maxlength="19" name="Fax"
        type="text" value=""/>
    <REPLACE compound="Tel ${telephone}, Fax ${fax} (Int. +27)."
        id="telxxxxxxxxxxxxxxxxandfaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        name="Telephone, Fax" pad=" " readonly="true"
        signature="telxxxxxxxxxxxxxxxxandfaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        template-align="left" template-encoding="freehand-kludge"
        thumbnail-align="centre" thumbnail-encoding="US-ASCII"
        type="hidden" value=""/>
    <REPLACE attribute="cell" id="mobile" maxlength="19"
        name="Cell Phone" type="text" value=""/>
    <REPLACE attribute="email" id="mail" maxlength="19" name="Email"
        type="text" value=""/>
    <REPLACE compound="Cell ${mobile}, Email ${mail}"
        id="cellandemailcomboxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        name="Cell Phone, Email" pad=" " readonly="true"
        signature="cellandemailcomboxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        template-align="left" template-encoding="freehand-kludge"
        thumbnail-align="centre" thumbnail-encoding="US-ASCII"
        type="hidden" value=""/>
    <REPLACE attribute="registeredAddress" id="registeredAddress"
        maxlength="65" name="Physical Address" pad=" "
        signature="physicaladdressxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        suffix="." template-align="left"
        template-encoding="freehand-kludge" thumbnail-align="centre"
        thumbnail-encoding="US-ASCII" type="text" value=""/>
    <REPLACE attribute="postalAddress" id="postalAddress" maxlength="65"
        name="Postal Address" pad=" "
        signature="postaladdressxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        suffix="." template-align="left"
        template-encoding="freehand-kludge" thumbnail-align="centre"
        thumbnail-encoding="US-ASCII" type="text" value=""/>
    <NOTES
        description="Update the information below. Do not forget to include the number of business cards you require" name="Notes">Stock%3A++</NOTES>
</DRESSCODE-WORKBOX>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to