RE: [xsl] Problem with embeded XHTML in an XML file and transformation to XSL:FO

Subject: RE: [xsl] Problem with embeded XHTML in an XML file and transformation to XSL:FO
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 13 Aug 2006 22:04:38 +0100
> That's an interesting point - can you have a well-formed XML 
> document that isn't namespace-well-formed?

Yes, you can. No-one uses them nowadays, but in principle you can have a
document that conforms to the base XML recommendation but doesn't conform to
the Namespaces Rec. XSLT has always insisted that the source document
conforms to both.
> 
> Is it that "well-formed" existed before namespaces came 
> along, and now saying "well-formed" means both?
> 

No, to require both you have to specify "namespace-well-formed". 

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

Current Thread