RE: How do i find the xerces version number from a xercesImpl.jar file ?

2003-06-27 Thread Jeff Rodgers
Specifically: C:\Development\xalan-j_2_5_D1\bin>java -cp xercesImpl.jar org.apache.xerces.impl.Version Xerces-J 2.3.0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How do i find the xerces version number from a xercesImpl.jar file ?

2003-06-27 Thread Joseph Kesselman
Easiest way to find out what version is actually on your classpath is to invoke one of the methods on org.apache.xerces.impl.Version __ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably th

RE: How do i find the xerces version number from a xercesImpl.jar file ?

2003-06-27 Thread Gary Gregory
Title: RE: How do i find the xerces version number from a xercesImpl.jar file ? You can also look at org.apache.xercer.impl.Version. The class has a main() too. Gary -Original Message- From: Michael Glavassevich [mailto:[EMAIL PROTECTED]] Sent: Friday, June 27, 2003 14:36 To: [EMA

Re: How do i find the xerces version number from a xercesImpl.jar file ?

2003-06-27 Thread Michael Glavassevich
Looking at the manifest will only work for Xerces 2.4.0, as this file wasn't included with previous versions of the parser. A method that works for 2.4.0 and older versions is invoking the main method of org.apache.xerces.impl.Version. Also, you can get the version number by viewing the byte code f

Re: How do i find the xerces version number from a xercesImpl.jar file ?

2003-06-27 Thread Maksym Kovalenko
In xercesImpl.jar/META-INF/MANIFEST.MF line 6 says Implementation-Version: 2.4.0 [EMAIL PROTECTED] wrote: I want to find out the version number of Xerces, from a xercesImpl.jar file. I opened the jar file, but couldn't find any info about the version. Thanks Kishor --

How do i find the xerces version number from a xercesImpl.jar file ?

2003-06-27 Thread KAtigre
I want to find out the version number of Xerces, from a xercesImpl.jar file. I opened the jar file, but couldn't find any info about the version. Thanks Kishor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

how to run the samples?

2003-06-27 Thread Shan Wei
Hi all, I built the src code of xercer-1_4_4 on cygwin and tried run DTDReader (in samples\sax) but I always got the error msg like: "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser" Here is the directory and the command I used to run the code: [E

Re: schema validation and date datatype

2003-06-27 Thread Maksym Kovalenko
>>From general perspective I can say that empty string is a valid string - it's a string with length 0. But other types are other types and empty value doesn't make any sense and invalid indeed. I don't see any inconsistency at all. I would be really surprised if there's a switch you're lookin

Re: schema validation and date datatype

2003-06-27 Thread Ender Oezguer
Hi, same case for e.g. 'xs:int' and 'xs:float'. Is there a switch for the validator to handle empty values ? Or any other ideas ? Ender O'Keeffe, Michael wrote: With String datatypes, if the element has an attribute with minOccurs="0", and the tag is there in the XML, but there is no value, vali

Re: entity subsititution

2003-06-27 Thread Joseph Kesselman
>i knew that this is not a valid xml document. but still i wanted the xerces to parse this data >and accept & as it is. Xerces is an XML parser. If your document isn't well-formed XML, you shouldn't expect Xerces -- or any other XML tool -- to process it. You could try putting your document t

Re: dom.Counter (parser doesnt instantiates)

2003-06-27 Thread Endre Furnes
Hello Fatima Your problem is more of a java issue, then a xercers issue. When and if you got time for it, I'll recommend you to get a deeper understanding on how java runtime picks up needed information (it's well worth it) i.e classpath issues. From what I remember, all you need from Xerces, t

entity subsititution

2003-06-27 Thread mischa o
hi guys:   I have an xml document that contain the data like something & something   the xerces parser throws an exception stating that it should contain ;. i knew that this is not a valid xml document. but still i wanted the xerces to parse this data and accept & as it is. I believe there is som