[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Six Reasons Not to use XML Attributes
- From: Andrew Welch <andrew.j.welch@gmail.com>
- To: David Lee <dlee@calldei.com>
- Date: Fri, 2 Mar 2012 14:46:20 +0000
On 2 March 2012 14:30, David Lee <dlee@calldei.com> wrote:
> While I agree it makes it bulkier, I disagree with the argument specifics.
> That is "looking ahead" is only a side effect of a particular parser implementation.
>
> i.e.
> if a parser reads
>
>
> <thing
>
>
> It has to look ahead in both cases
> A) id="abc"
> B) ><id>abc<
>
>
> It just happens that most XML parsers do this lookahead thing for you for attributes (and some do it for elements) ... but its not intrinsic in XML.
I'm guessing you skipped the joy of sax parsing?
:)
--
Andrew Welch
http://andrewjwelch.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]