You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Sheen Brisals <sh...@hp.com> on 2002/04/12 17:08:44 UTC

RE: XML Validation with external schema

Thanks Joe,

Can you tell me how did you achieve this with Xerces 2.x? Validating 
xml with a schema that is not in an external file but available as a 
string. 

I wouldn't prefer to distrupt the application by moving to Xerces 2.x 
but, if that is what required to add more value to my application then 
I will reconsider the decision.

Regards,
Sheen

-----Original Message-----
From: joe.hoff@riptidesoft.com [mailto:joe.hoff@riptidesoft.com]
Sent: Friday, April 12, 2002 3:49 PM
To: xerces-j-user@xml.apache.org
Subject: RE: XML Validation with external schema


I hope I'm wrong on this, for your sake, but ...

I tried to get an XML document to be validated on an external schema in
1.4 for a long time with no success. Same code under 2.x, and I had no
problems. No problems reaching the external schema, anyway.

-----Original Message-----
From: Sheen Brisals [mailto:sheen_brisals@hp.com] 
Sent: Friday, April 12, 2002 9:51 AM
To: xerces-j-user@xml.apache.org
Subject: XML Validation with external schema 

Hi,

I'm sorry to post a question on this good old subject.

After going through a number of postings on the same subject, still I 
could not find an answer to validate a given xml instance document with 
an external schema that is available as a string. In my case, during 
runtime my application is given with an instance document and a schema 
as serialized string objects. The application should be able to 
validate the document then and there. I'm using Xerces 1.4 (cannot 
upgrade to 2.x at this stage) for parsing, serialzing and other DOM 
APIs. Any code snippets or ideas would be very helpful.

Thanks,
Sheen


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org