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 ...
|
|
|
|