As Arnaud mentioned in a previous post, if you absolutely don't want
XML 1.1 support you can override the default configuration [1]. This is
fairly simple to accomplish and doesn't require you to change any of your
code. There are other parser configurations (besides the default) included
with the distribution which you can choose to use instead, so you don't
need to write one yourself.

[1] http://xml.apache.org/xerces2-j/faq-xni.html#override-default-config

On Fri, 21 Nov 2003, Arnaud Le Hors wrote:

> No, what you're describing does NOT require any option on the parser.
> The parser will act according to the XML declaration in your file, or
> lack of. So, if you don't have any XML declaration or if you have one
> and it specifies it is an XML 1.0 file (with version="1.0") the parser
> will enforce 1.0 conformance.
> Only when you have an XML declaration with version="1.1" in your file
> the parser will use 1.1 conformance rules.
> --
> Arnaud  Le Hors - IBM, XML Standards Strategy Group / W3C AC Rep.
>
>
>
> Elliotte Rusty Harold wrote:
> > At 6:05 PM -0800 11/21/03, Arnaud Le Hors wrote:
> >
> >> If somebody really wants this he/she can always have his/her own
> >> configuration I suppose. But I don't see any use case for this so I
> >> wouldn't spend resources on this.
> >>
> >
> > The use case is interoperating with the vast installed base of systems
> > and software that expect and rely on XML 1.0 rules being followed. I for
> > one need and expect a parser to report all well-formedness errors as
> > required by XML 1.0. If Xerces cannot easily be configured to do that,
> > then I will have to consider using another parser. Sadly the number of
> > genuinely conformant parsers written in Java is very small. Up till now
> > Xerces had been clearly the best. Possibly, if I don't find a better
> > alternative, and if there's no simple way to turn Xerces into a
> > conformant parser, then I will have to fork it. :-(
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-- 
---------------------------
Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to