• Post Reply Bookmark Topic Watch Topic
  • New Topic

content is not allowed in prolog.  RSS feed

 
Albert Kundurthi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting 'Content is not allowed in prolog' with following xml. Can some one help in resolving this?
Thanks

<?xml version="1.0" encoding="UTF-8"?>
<checkout-shopping-cart xmlns="http://checkout.google.com/schema/2">
<shopping-cart>
<cart-expiration>
<good-until-date>2007-05-27T15:47:35.608-07:00</good-until-date>
</cart-expiration>
<merchant-private-data/>
<items>
<item>
<item-description/>
<item-name>1st Birthday Boy Deluxe Party Box</item-name>
<merchant-item-id>7181</merchant-item-id>
<quantity>1</quantity>
<unit-price currency="USD">44.8900000000000005684341886080801486968994140625</unit-price>
<merchant-private-item-data/>
</item>
<item>
<item-description>nullGuest Name::test<BR></item-description>
<item-name>100103 - Personalized Bag Tag</item-name>
<merchant-item-id>3830</merchant-item-id>
<quantity>1</quantity>
<unit-price currency="USD">1.9899999999999999911182158029987476766109466552734375</unit-price>
<merchant-private-item-data/>
</item>
<item>
<item-description/>
<item-name>1st Birthday Boy Beverage Napkins</item-name>
<merchant-item-id>3965</merchant-item-id>
<quantity>1</quantity>
<unit-price currency="USD">3.589999999999999857891452847979962825775146484375</unit-price>
<merchant-private-item-data/>
</item>
<item>
<item-description/>
<item-name>Animal Safari Candle</item-name>
<merchant-item-id>7885</merchant-item-id>
<quantity>1</quantity>
<unit-price currency="USD">3.890000000000000124344978758017532527446746826171875</unit-price>
<merchant-private-item-data/>
</item>
</items>
</shopping-cart>
<checkout-flow-support>
<merchant-checkout-flow-support>
<shipping-methods>
<merchant-calculated-shipping name="UPS Ground">
<price currency="USD">6.95000000000000017763568394002504646778106689453125</price>
<shipping-restrictions>
<allowed-areas>
<us-country-area country-area="ALL"/>
</allowed-areas>
<excluded-areas/>
</shipping-restrictions>
</merchant-calculated-shipping>
<merchant-calculated-shipping name="UPS 3day">
<price currency="USD">11.949999999999999289457264239899814128875732421875</price>
<shipping-restrictions>
<allowed-areas>
<us-country-area country-area="ALL"/>
</allowed-areas>
<excluded-areas/>
</shipping-restrictions>
</merchant-calculated-shipping>
<merchant-calculated-shipping name="UPS 2day">
<price currency="USD">16.949999999999999289457264239899814128875732421875</price>
<shipping-restrictions>
<allowed-areas>
<us-country-area country-area="ALL"/>
</allowed-areas>
<excluded-areas/>
</shipping-restrictions>
</merchant-calculated-shipping>
<merchant-calculated-shipping name="UPS Next Day">
<price currency="USD">24.949999999999999289457264239899814128875732421875</price>
<shipping-restrictions>
<allowed-areas>
<us-country-area country-area="ALL"/>
</allowed-areas>
<excluded-areas/>
</shipping-restrictions>
</merchant-calculated-shipping>
<merchant-calculated-shipping name="Priority Mail">
<price currency="USD">7.95000000000000017763568394002504646778106689453125</price>
<shipping-restrictions>
<allowed-areas>
<us-country-area country-area="ALL"/>
</allowed-areas>
<excluded-areas/>
</shipping-restrictions>
</merchant-calculated-shipping>
<merchant-calculated-shipping name="UPS Standard to Canada">
<price currency="USD">8.949999999999999289457264239899814128875732421875</price>
<shipping-restrictions>
<allowed-areas>
<us-country-area country-area="ALL"/>
</allowed-areas>
<excluded-areas/>
</shipping-restrictions>
</merchant-calculated-shipping>
<merchant-calculated-shipping name="UPS Worldwide Expedited">
<price currency="USD">30.949999999999999289457264239899814128875732421875</price>
<shipping-restrictions>
<allowed-areas>
<us-country-area country-area="ALL"/>
</allowed-areas>
<excluded-areas/>
</shipping-restrictions>
</merchant-calculated-shipping>
</shipping-methods>
<merchant-calculations>
<accept-gift-certificates>false</accept-gift-certificates>
<accept-merchant-coupons>true</accept-merchant-coupons>
<merchant-calculations-url>http://207.138.176.41/GoogleCallback</merchant-calculations-url>
</merchant-calculations>
<tax-tables>
<default-tax-table>
<tax-rules>
<default-tax-rule>
<rate>5.0</rate>
<shipping-taxed>false</shipping-taxed>
<tax-area>
<us-state-area>
<state>MD</state>
</us-state-area>
</tax-area>
</default-tax-rule>
<default-tax-rule>
<rate>7.0</rate>
<shipping-taxed>false</shipping-taxed>
<tax-area>
<us-zip-area>
<zip-pattern>94945</zip-pattern>
</us-zip-area>
</tax-area>
</default-tax-rule>
</tax-rules>
</default-tax-table>
</tax-tables>
<continue-shopping-url>http://207.138.176.41/</continue-shopping-url>
<edit-cart-url>http://207.138.176.41/basket.do</edit-cart-url>
</merchant-checkout-flow-support>
</checkout-flow-support>
<order-processing-support>
<request-initial-auth-details>true</request-initial-auth-details>
</order-processing-support>
</checkout-shopping-cart>
 
Dudley Dawson
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you elaborate more on the conditions under which you are getting the error. Where is the message coming from?
The message "Content not allowed in prolog" is often returned by an xml parser when it gets some bad xml. Usually the cause is that the process that is the source of the xml is feeding the parser an error message instead of the intended xml.
 
sanjayi sweet
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am trying to create a merchant shopping cart template for my web site.I found some template from the net but they are not working for my website on word press.Please someone send any ideas.


http://www.genebyte.com/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!