Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    Default Apostrophe's in Product Description = Invalid XML

    Dr Byte & Team,

    Can you point me in the direction if this has already been addressed? Apparently, with the latest 1.3.8, I am seeing an INVALID XML error with Linkpoint when one of the items in the cart contains an apostrophe.

    SNIP:

    [3] => Array
    (
    [id] => 4291
    [description] => 25' Rope - Uday (White)
    [quantity] => 1
    [price] => 4.84
    )

    Everything else about the transaction looks fine. I know that in the past, these errors happened a lot when foreign customers used certain characters in their names and addresses, like í, ó, â, etc., but those appear to be fine now. The only thing out of the ordinary is these product titles in the ARRAY which appear to be causing a problem.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Apostrophe's in Product Description = Invalid XML

    Please have a look in the bug reports for the problem and fix.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Aug 2004
    Posts
    762
    Plugin Contributions
    0

    Default Re: Apostrophe's in Product Description = Invalid XML

    Hi Kim,

    Yes, I did check that thread (http://zen-cart.com/forum/showthread.php?t=82619) before making my post. I didn't see anything that pertained to my specific problem. I already have the latest linkpoint_api file on our system.

    Truth be told, this is the first I am seeing this problem, and I don't know if it's isolated or not. All I know is that in the past, I would see Invalid XML errors when the user's foreign name/address messed up. In this instance, that all looks fine and dandy, but the Array of products is substituting an apostrophe.

    So the following (25' Rope) looks like this: 25' Rope

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Apostrophe's in Product Description = Invalid XML

    I can't replicate the problem using the latest posted patch for Linkpoint, the link to which is in the thread you referenced.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. LinkPoint Invalid XML - how to grab copy of the XML request?
    By smallarmsdealer in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 8 Jan 2014, 07:57 PM
  2. Invalid xml declaration.
    By rajoo.sharma in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 7 Oct 2010, 07:59 AM
  3. Help! Product Info Short Description Using XML.
    By doinfinity in forum General Questions
    Replies: 0
    Last Post: 26 Feb 2010, 05:33 AM
  4. Apostrophe doubling in Product Description
    By pandamain in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Oct 2008, 02:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR