xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Rodriguez" <jeffreyr...@hotmail.com>
Subject Re: [Fwd: DTD Comments]
Date Fri, 25 Aug 2000 20:19:19 GMT
Hi Serge,

I run you instance document againt your dtd with the current cvs version
of Xerces-j and I am not able to reproduce the problem that you reported.

Hope this helps,

             Jeffrey Rodriguez
             IBM Silicon Valley
             XML Development





>From: Serge Paquin <serge@thebigcircle.com>
>Reply-To: general@xml.apache.org
>To: general@xml.apache.org
>Subject: [Fwd: DTD Comments]
>Date: Fri, 25 Aug 2000 08:45:12 -0400
>
>I used the example SAXParse that is included and I'm using xerces 1.2.0
>
>The error I get from SAXParse is:
>
>Fatal Error at file http://www.purepayments.com/dtd/purepayments.dtd,
>line 1, char 3
>Message: Expected a markup declaration
>
>I have attached "request.xml" which is the file that I run SAXParse on
>to
>generate the error.
>
>Serge.
><< message3.txt >>
><!DOCTYPE pp.request PUBLIC "-//IMALL//DTD PUREPAYMENTS 1.0//EN" 
>"http://www.purepayments.com/dtd/purepayments.dtd">
>
><pp.request merchant="1001" password="password this is a test" >
>	<pp.auth ordernumber="1" shippingcost="30.00USD" taxamount="10.00USD"
>	  ipaddress="1.2.3.4" ponumber="321" verbalauthcode="xxx" 
>verbalauthdate="19991026180942000" >
>
>	  <pp.creditcard number="4111111111111111" expiration="12/00">
>
>           <pp.address type="billing" fullname="John Doe" address1="123 
>easy street"
>	    city="Santa Monica" state="CA" zip="91307" country="usa" 
>phone="3103094000" email="null@imall.com" />
>
>	  </pp.creditcard>
>
>	  <pp.address type="shipping" fullname="John Doe" address1="123 easy 
>street" address2="# 101"
>	    city="Santa Monica" state="CA" zip="91307" country="usa" 
>email="null@imall.com" />
>
>
>	  <pp.lineitem sku="sku_1" description="desc_1" quantity="2" taxrate="5" 
>unitprice="10.00USD">
>
>	    <pp.option label="size" value="small"/>
>	    <pp.option label="color" value="blue"/>
>
>	  </pp.lineitem>
>
>	  <pp.lineitem sku="sku_2" description="desc_2" quantity="1000" 
>taxrate="0" unitprice="20.00USD">
>
>	    <pp.option label="size" value="large"/>
>
>	  </pp.lineitem>
>
>	  <pp.ordertext type="description">
>	    <![CDATA[30000-123456]]>
>	  </pp.ordertext>
>
>	</pp.auth>
>
></pp.request>
>
>---------------------------------------------------------------------
>In case of troubles, e-mail:     webmaster@xml.apache.org
>To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
>For additional commands, e-mail: general-help@xml.apache.org

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message