|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
Re: X12 sees the writing on the wall.

Kurt, is this a red herring meant to dissuade folks from XML? What
ordinary application programmer in her right mind would parse the raw
XML document herself? Every platform and practically every programming
language have embedded SAX and DOM parsers included within for free.
The application programmer is insulated from all these details - along
with character encodings - by using the standard parsers.
William J. Kammerer
Novannet, LLC.
Columbus, US-OH 43221-3859
+1 (614) 487-0320
----- Original Message -----
From: "Kurt Svensson" <
To: "EDI-L Mailing List" < "William J. Kammerer"
<
Sent: Thursday, 17 July, 2003 04:42 AM
Subject: Re: [EDI-L] X12 sees the writing on the wall.
William You wrote:
> I must disagree, Bill, with your bit about "parsing is the easy
> part--even in EDI!" Parsing EDI is a lot more complicated (than
parsing
> XML), what with all the travails involved with separators and
> terminators, elements, composites, segments and loops.
and
> On the other hand, XML is so no-nonsense strict
> about structure and format that this loosey-goosiness never arises.
XML is not that easy to parse:
- Strict about structures -> Groups in XML comes in strange flavours
sometimes
ALL group -> children may come in any order - group can not be
repetitive
CHOICE group -> only just one child may occur - may be repetitive
- Entities
- xml:spaces -> DEFAULT -> ignore ignore lead-in and ending white spaces
-> PRESERVE -> preserve all white spaces
- Comments everywere
and so on ( a lot of small details)
Regards
Kurt Svensson (who wrote our EDIFACT, X12, XML parsers)
Inobiz AB
www.inobiz.com
|
 |
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|