Lists Home |
Date Index |
Objects have methods and objects can have circular references.
Representing those in plain vanilla XML (i.e. no DTDs or schema) is an
immense challenge without resorting to what some would colorfully
describe as "gross hacks".
PITHY WORDS OF WISDOM
A pipe gives a wise man time to think and a fool something to stick in
This posting is provided "AS IS" with no warranties, and confers no
> -----Original Message-----
> From: Tim Bray [mailto:email@example.com]
> Sent: Friday, January 17, 2003 12:32 PM
> To: Dare Obasanjo
> Cc: Mike Plusch; firstname.lastname@example.org
> Dare Obasanjo wrote:
> > PS: XML can't represent objects at best it can represent C-style
> > structs and even then it needs a notion of IDness to do
> this completely.
> Er uh yes XML can represent objects. This is usually a bad
> idea, but it can be done. Objects can be
> serialized/persisted, and pretty well anything that can be
> serialized/persisted can be dressed in XML syntax.
> What am I missing? -Tim