xsl-list
[Top] [All Lists]

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

2006-08-14 01:22:16
On 8/13/06, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
> 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".

Thanks - out of interest (and off the top of your head) what XML
parsers/applications will accept well-formed XML that is not
namespace-well-formed ?

I think I started with XML just after the namespaces rec came became a
rec, so the idea of using one without the other just seems odd...

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>