RE: [xmlschema-dev] <none>

> By the way, we are also sometimes asked why you can't have 
> the equivalent of a DTD internal subset, I.e. putting a 
> schema fragment in the XML file but outside of the document 
> element tree, and the answer is similar:  XML is not 
> extensible in that way either.  The only "schema" language 
> that can be embedded as an internal subset in an XML document 
> is a DTD.

I've never seen anything in the spec that stops you embedding a schema
document within the source document to be validated, and referring to it as
say xsi:noNamespaceSchemaLocation="#schema". Where is this rule?

Michael Kay
http://www.saxonica.com/

Received on Wednesday, 10 May 2006 20:47:03 UTC