This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: This can't be right, XML with no root element: Saxon & XT vs. Xalan


Francis Norton wrote

> >
> > > <?xml version="1.0" encoding="utf-8"?>(1.1) An image element
> >
> > The XSLT 1.0 specification is clear that the output does not have to be
a
> > well-formed XML document, only a well-formed external general parsed
entity.
> > Which means, in effect, something that would be a well-formed document
if
> > you put a start and end tag around it. Whether you or I happen to like
this
> > spec is somewhat irrelevant.
> >
> out of curiousity, would the above output be a well-formed external
> general parsed entity, given that it starts with an xml declaration?
>

Yes, but in the case of external parsed entities it's not an xml declaration
it's called a Text Declaration (the encoding pseudo-attribute is mandatory).

~Rob


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]