[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: should this be well-formed?

  • From: "Pete Cordell" <petexmldev@c...>
  • To: "bryan rasmussen" <rasmussen.bryan@g...>,"xml-dev" <xml-dev@l...>
  • Date: Thu, 13 Mar 2008 12:24:00 -0000

Re:  should this be well-formed?
Hi Bryan,

Is your HTTP using chunked transfer 
(http://developers.sun.com/mobility/midp/questions/chunking/)?  The 19b 
could be the hex value of the chunk size.  Therefore it would not be 
interpreted as part of your XML.

HTH,

Pete Cordell
Codalogic
For XML C++ data binding visit http://www.codalogic.com/lmx/

----- Original Message ----- 
From: "bryan rasmussen" <>
To: "xml-dev" <xml-dev@l...>
Sent: Thursday, March 13, 2008 9:05 AM
Subject:  should this be well-formed?


> Should the following response to a GET be well-formed:
>
> <= Recv data, 423 bytes (0x1a7)
> 0000: 31 39 62 0d 0a 3c 3f 78 6d 6c 20 76 65 72 73 69 19b..<?xml versi
> 0010: 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e on="1.0" encodin
> 0020: 67 3d 22 55 54 46 2d 38 22 3f 3e 3c 6b 6d 6c 20 g="UTF-8"?><kml
> 0030: 78 6d 6c 6e 73 3d 22 68 74 74 70 3a 2f 2f 65 61 xmlns="http://ea
> 0040: 72 74 68 2e 67 6f 6f 67 6c 65 2e 63 6f 6d 2f 6b rth.google.com/k
> 0050: 6d 6c 2f 32 2e 30 22 3e 3c 50 6c 61 63 65 6d 61 ml/2.0"><Placema
> 0060: 72 6b 3e 3c 6e 61 6d 65 3e 4e c3 a6 72 75 6d 2c rk><name>N..rum,
> 0070: 20 44 65 6e 6d 61 72 6b 3c 2f 6e 61 6d 65 3e 3c  Denmark</name><
> 0080: 61 64 64 72 65 73 73 3e 4e 61 65 72 75 6d 2c 20 address>Naerum,
> 0090: 44 65 6e 6d 61 72 6b 3c 2f 61 64 64 72 65 73 73 Denmark</address
> 00a0: 3e 3c 73 74 79 6c 65 55 72 6c 3e 72 6f 6f 74 3a ><styleUrl>root:
> 00b0: 2f 2f 73 74 79 6c 65 4d 61 70 73 23 64 65 66 61 //styleMaps#defa
> 00c0: 75 6c 74 2b 6e 69 63 6f 6e 3d 30 78 33 30 34 2b ult+nicon=0x304+
> 00d0: 68 69 63 6f 6e 3d 30 78 33 31 34 3c 2f 73 74 79 hicon=0x314</sty
> 00e0: 6c 65 55 72 6c 3e 3c 50 6f 69 6e 74 3e 3c 63 6f leUrl><Point><co
> 00f0: 6f 72 64 69 6e 61 74 65 73 3e 31 32 2e 35 33 37 ordinates>12.537
> 0100: 38 39 35 2c 35 35 2e 38 31 36 33 32 38 2c 30 3c 895,55.816328,0<
> 0110: 2f 63 6f 6f 72 64 69 6e 61 74 65 73 3e 3c 2f 50 /coordinates></P
> 0120: 6f 69 6e 74 3e 3c 4c 6f 6f 6b 41 74 3e 3c 6c 6f oint><LookAt><lo
> 0130: 6e 67 69 74 75 64 65 3e 31 32 2e 35 33 37 38 39 ngitude>12.53789
> 0140: 35 3c 2f 6c 6f 6e 67 69 74 75 64 65 3e 3c 6c 61 5</longitude><la
> 0150: 74 69 74 75 64 65 3e 35 35 2e 38 31 36 33 32 38 titude>55.816328
> 0160: 3c 2f 6c 61 74 69 74 75 64 65 3e 3c 72 61 6e 67 </latitude><rang
> 0170: 65 3e 31 35 36 37 2e 30 34 37 32 34 31 3c 2f 72 e>1567.047241</r
> 0180: 61 6e 67 65 3e 3c 2f 4c 6f 6f 6b 41 74 3e 3c 2f ange></LookAt></
> 0190: 50 6c 61 63 65 6d 61 72 6b 3e 3c 2f 6b 6d 6c 3e Placemark></kml>
> 01a0: 0d 0a 30 0d 0a 0d 0a                            ..0....
>
> I'm wondering about the latin small letter lambda before the XML,
> shouldn't that be incorrect?
> Because it parses fine and it surprised me actually.
>
> Cheers,
> Bryan Rasmussen
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
> 




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.