>The parse() method expects a URI.
Yep. If you want to pass it an operating-system-level filename -- of any
syntax -- prefix that with "file:///" to make it a URI.
__
Joe Kesselman, IBM Next-Generation Web Technologies:
XML, XSL and more. "may'ron DaroQbe'chu
> Document d = builder.parse(file);
The parse() method expects a URI. Apparently, "SYS:\tomcat\cocoon" is not a
URI, which is why Xerces fails to parse the document. The correct fix, IMO,
wouldn't be to change Xerces to special-case Novell file names, but to make
the code that calls Xerces to gene
Praveen,
You can use castor or JAXB for binding. I don’t think that either of
these create a sample XML file for you. I use XML Spy to do this.
Thanks,
Vishal
-Original
Message-
From: Praveen Peddi
[mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003
3:33 PM
To
Hi Bishal,
I like your suggestion, but I think I forgot to
mention that my application is implemented in Java and I am not sure how do I
automatically generate XML from schema using java. Do you know of any tool that
does that?
Praveen
- Original Message -
From:
Bhasin,
Praveen,
You can use XML-SPY to create a sample xml from a
schema. You can use the following to validate an XML against a schema
-
xerces validation programmatically
-
XML-SPY
Cheers,
Vishal
-Original
Message-
From: Praveen Peddi
[mailto:[EM
Hi all,
I work for a company that does an asset metadata
integration from different content management systems. We currently have an
extensible schema where one can add/remove metadata fields in the schema on the
fly. Now my problem is to take the input (mostly name value pairs) from any
cli
Hi;
I've been working around this issue for a while. Some
programmers from Jetspeed and Cocoon suggested the actual
problem lies with xerces and should be committed there.
There are a couple of fixes in the Bug DB for Jetspeed and
Cocoon (Vadim Gritsenko) has done. The problem has to do
with the h
Could you be more specific about your question?
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
"Sam"
Is there any way to validate a single complex element?
___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
I am using a preparser to validate (and store as a grammer) an xml schema
document. I registered an error handler but for some reason when I plant an
error (I tried a well-formedness error) an exception is thrown and the
error handler is not used. Is this a bug or can I fix it somehow???
Ron Rothb
10 matches
Mail list logo