[Home] [By Thread] [By Date] [Recent Entries]


On Tuesday 25 February 2003 15:16, Joe English wrote:

> > and making
> > it as formally rigorous as the syntax spec (somebody said that this could
> > be done with ASN.1, but I don't know that).
>
> IMO, the level of rigor in the XML Infoset REC is just
> about right.  It lists the essential information content
> of a parsed document, without constraining the way that
> information is represented.  ASN.1 would be a gross
> overspecification.

ASN.1 doesn't constrain representation, it's purely an Abstract Syntax 
Notation - it lists what information content something has, and nothing more.

Element ::= {
	name QName,
	attributes SEQUENCE OF SEQUENCE {
		name QName,
		content UTF8String
	},
	children SEQUENCE OF Node
}

Node ::= CHOICE {
	element Element,
	comment UTF8String,
	processInstruction ProcessingInstruction,
	cdata UTF8String
}

...

>
> --Joe English
>

ABS

-- 
A city is like a large, complex, rabbit
 - ARP

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member