xerces schema question

2002-04-30 Thread Maneesh Dhagat
Hi, what is the best way to "build in" the xml schema into the java code, instead of having a separate xsd file. I am using version xerces 1.4.4. --Maneesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Loading Xerces 2 with your own ClassLoader

2002-04-30 Thread Mike Spreitzer
Is there a way to use your own java.lang.ClassLoader to succesfully load and use Xerces-J 2? Specifically, I'd like to construct a java.net.URLClassLoader from URLs for Xerces-J 2, and use that to load Xerces. I can successfully do that much, but when I try to actually use the loaded Xerces t

RE: XML Schema validation using XERCES --- the correct mailing li st to get this question answered...

2002-04-30 Thread Mark Feblowitz
Huh? -Original Message- From: Ibrahim Ahmed [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 30, 2002 12:18 PM To: [EMAIL PROTECTED] Subject:Re: XML Schema validation using XERCES --- the correct mailing list to get this question answered... --

Re: XML Schema validation using XERCES --- the correct mailing list to get this question answered...

2002-04-30 Thread Ibrahim Ahmed
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: xerces parser's exception message turns xml file invalid

2002-04-30 Thread Schweigl, Johann
Title: AW: xerces parser's exception message turns xml file invalid You could encapsulate the error message in a CDATA section:                 -Ursprüngliche Nachricht- Von: Andrew Anand [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 30. April 2002 17:59 An: [EMAI

xerces parser's exception message turns xml file invalid

2002-04-30 Thread Andrew Anand
In my java-xml application, the request( xmlfile.in) and response(xmlfile.out) are xml files. When I send in an invalid xml request, the xerces parser throws the exception (eg. SAXException) expectedly. This exception message is included inside element that exists in my XML response file(xmlfile.

xsd:choice with xsd:group

2002-04-30 Thread Schawn E. Thropp
I have a situation where I would like to define an XSD to allow to different "groups" of data.  I wouldlike to use the xsd:choice mechanism to allow Xerces to choose between the two groups during validation.The groups contain the same makeup, however there is different values depending on th

RE: Xalan phone home

2002-04-30 Thread Alistair Hopkins
Is the feature http://xml.org/sax/features/validation on Xerces set to true? If it is, it will have to go get the XSLT grammar to validate the stylesheet when it parses it in. Also, in the comment on the site, it says If this feature is set to true, the document must specify a grammar. If this fea

Re: Xalan phone home

2002-04-30 Thread scott_boag
I tend to believe that it is possible the XML parser is thinking it has a pointer to a schema, and trying to open it? (or some such) Xerces folks, any comment? Certainly the XSLT processor is not trying to open the URL. -scott

xml namespaces

2002-04-30 Thread Ramin Raybod
Hi, I'm a newcomer to XML. The current syntax for a namespace is a two level structure: a prefix as a URI to indicate a namespace and a local name. This syntax implies there would be no duplicate names in a namespace. Wouldn't it be more flexible if we could have a nesting in namespaces? Som

Status of ASModel implementation?

2002-04-30 Thread Simon . Godden
Hello, Can someone tell me what the current status of the ASModel implementation is? I am looking for read-only access to the ASModel. What are the plans? Do we have an expected date? Regards, Simon Godden DCS Transport and Logistics

RE: Newbie: how do i copy a Dom tree to another dom document

2002-04-30 Thread Rajesh_KumarT
Hi, There are two possible problems: 1. You cannot use append child directly to copy a part of a DOM tree into another one. You have to use importNode(Node importedNode, boolean deep) of the Document interface. 2. Another problem you can face even after using the above is incompatib