xsd can't be in the xml document in general, unless you write some code to
create two input streams based on the same file
and position them in the two correct places.
schema location can be absolute or relative
----- Original Message -----
From: [EMAIL PROTECTED]
To: [email protected] ; [email protected] ;
[email protected]
Sent: Monday, August 01, 2005 8:19 AM
Subject: xsd file in the xml instance file
Hi Everyone,
Sorry if my questions are on the wrong mailing-list(s) but in case you can
answer these:
- can an XML instance document contain the validation xsd file in itself
and not just an xsi:schemaLocation reference?
- can the schemaLocation property be any path (absolute and relative), too?
The problem is that there is an xml file which is being modified and saved
again and again, and sometimes it is saved into another directory and this
time the relative schemaLocation reference becomes unavailable...(I mean the
xsd file gets unavailable from the referencing instance document...)
Many thanks to You in advance,
Kind regards,
Csaba Szucs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]