logo       
Google Custom Search

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

Re: XInclude with schema validation: msg#00012

Subject: Re: XInclude with schema validation
I get exactly the same phenomenon under both the 2.5.0 and 2.6.0 releases. Under 2.5.0, I hacked the source to force it to continue and that worked. Under 2.6.0, I hacked it again but the parser dies with a null pointer exception because it can't find the parent's SYSTEM ID. The latter seems to assume that it is included via DOCTYPE entity rather than XInclude. I filed a bug report last week but have gotten no response. My included xml is also validated by its own schema.

At 3:28 PM -0500 12/2/03, Stephen Stern wrote:
Are their any examples of how to use XInclude with Schema validation
enabled ( http://xml.org/sax/features/validation and
http://apache.org/xml/features/validation/schema features set to true).
When I attempt to include a file, the included file seems to require a
dtd, otherwise the parser complains. If I replace the include with the
contents of the file being included it is correctly parsed. The included
file itself can also be parsed with validation. I am using xerces/2.6.

thanks,
Stephen

--
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xxxxxxxxxxxxxx
For additional commands, e-mail: xerces-j-user-help@xxxxxxxxxxxxxx


--
Don Bate               | Specializing in Consulting and Mentoring in
Bate Consulting, Inc   | Object-Oriented Technologies,
                       | Software Architecture, and Software Process
(972) 618-0208 voice
(972) 618-0216 fax
donbate@xxxxxxxxx



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>