|
[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
RE: Syntax Sugar and XML information models
- From: Mike.Champion@S...
- To: xml-dev@l...
- Date: Thu, 29 Mar 2001 09:04:59 -0500
Title:
> -----Original Message----- >
From: John Aldridge [mailto:john.aldridge@i...] > Sent: Thursday, March 29, 2001 5:35 AM > To:
xml-dev > Subject: RE: Syntax Sugar and XML information
models
> (b) Editors all write a
_standard_ normal form (i.e. not just > a normal form of their own
choosing)
This is more or less what I was hoping we could collectively
define, and "standard normal form" sounds a lot better than "Syntax Sugar
Information Set." And to answer Rick Jelliffe's question, I agree that
the W3C InfoSet is a reasonable model for what people care about when
navigating or transforming a document, but we need a richer model for editors
and databases. These are two halves of the same coin, since a database must
round-trip whatever is significant to an editor, and an editor must preserve
whatever is significant to a database). BUT I'm not sure I agree "that means you are *not* interested in the information set
of the document, but the actual text of the document's entities.
That is a fine thing. Let there be element-based (infoset) editors and
entity-based (tag-aware) editors". Databases (and arguably editors)
*should* be interested in the information set of a document rather than just the
bytes that make it up, but they need a richer information set than the W3C
InfoSet.
I'm hoping to find a middle ground between "editors and
databases must simply round-trip the (core) infoset" and "editors and
databases must round-trip every single character". My first cut at this
is that the "standard normal form" is Canonical XML + external entity
references + CDATA sections ... I'm sure there is more.
As for the order of
attributes, doesn't XML 1.0 specifically declare this to
be insignificant?

|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
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.
|
|