Re: Xerces and Crimson compatibilities

2001-11-02 Thread Jean-Claude Dufourd
Kevin Vogt wrote: > I am most interested in the compatibility of these three products > with the > Java API. As the table shows, I do not know the lowest version(s) of > the > Java API that can use Xerces 1.4.3 or Xerces 2.0.0. Does anybody out > there > know where that is documented, or what the a

Xerces and Crimson compatibilities

2001-11-02 Thread Kevin Vogt
I'm comparing Crimson, Xerces 1.4.3 and Xerces 2.0.0 beta 3. I've searched... * the Crimson, Xerces1 and Xerces2 FAQs * Sun's JAXP site * xerces-j-dev * xerces-j-user * xerces-p-dev * xml-apache-announce * xml-apache-general * comp.text.xml group archive on Google Here's what I've come up with so

org.xml.sax.driver

2001-11-02 Thread richard cai
Hi, I am new to this SAX2 business. So, I ran into a very basic problem, to most people. That is, after I set up the system property "org.xml.sax.driver" to "org.apache.xerces.parsers.SAXParser" and tried to use the following line: "XMLReader xr=XMLReaderFactory.createXMLReader()", the followi

Parsing a xml file and getting node name/values

2001-11-02 Thread Moganna, Prasad
Hi All, I have a xml file (short snippet as shown below) Books Set 1 ... . 1 2

xsd schema unique problem

2001-11-02 Thread Colin Savage
Hi I apologise for the length of this schema, I have tried to reproduce this error in a simpler way but with no success. I have included the whole files. using Xerces 1.4.3 i am getting the following errors [Error] dictionary.xml:10:25: Duplicate unique value [ID Value: hello1] declared for ide

Re: parser looks for DTD file even if validation is off

2001-11-02 Thread Raja Nagendra Kumar
Title: RE: parser looks for DTD file even if validation is off Hi!   Can any one help me in defining a dtd, which enforces that attributes in the tag can be in any order     which mean dtd should not enforce the order for name, value, pattern i.e a rule of kind is also valid   Any pointers

RE: xsd schema problem

2001-11-02 Thread Colin Savage
this is the first set http://www.w3.org/2001/XMLSchema"; targetNamespace="urn:myschema"> 2001-01-10 Ok, I think I am beginning to understand. Thank you for your help. Colin p.s. Why can't the w3c make their specs readable to mere mortals? -Origi

RE: xsd schema problem

2001-11-02 Thread Rahul Srivastava
> From: Colin Savage <[EMAIL PROTECTED]> > > Then that means that that is not the solution, since in the instance doc > is not qualified with a prefix. Unless the fact that there is no > prefix defined for the namespace, implies that elements with no prefix are > qualified? That could explain why

RE: xsd schema problem

2001-11-02 Thread Colin Savage
Then that means that that is not the solution, since in the instance doc is not qualified with a prefix. Unless the fact that there is no prefix defined for the namespace, implies that elements with no prefix are qualified? That could explain why it would work with the attribute set to "qualified"

RE: xsd schema problem

2001-11-02 Thread Rahul Srivastava
> From: Colin Savage <[EMAIL PROTECTED]> > > someone just told me how to fix... elementFormDefault="qualified"...I'm not > entirely sure what this does, but I intend to find out. If you set elementFormDefault as qualified, it means that in the instance doc., all the elements (global + local) sho

RE: xsd schema problem

2001-11-02 Thread Colin Savage
someone just told me how to fix... elementFormDefault="qualified"...I'm not entirely sure what this does, but I intend to find out. Thanks for your help Colin -Original Message- From: Rahul Srivastava [mailto:[EMAIL PROTECTED] Sent: 02 November 2001 06:11 To: [EMAIL PROTECTED] Subject: R

RE: xsd schema problem

2001-11-02 Thread Colin Savage
I have tried. using external-schemaLocation. Note that it hasn't complained about the gift element being "not declared", and is "aware" that the contents of gift should be "birthday". Based on that I am assuming that it has found the schema -Original Message- From: Rahul Srivastava [mailto

Re: xsd schema problem

2001-11-02 Thread Rahul Srivastava
> From: Colin Savage <[EMAIL PROTECTED]> > > I can't figure out what is wrong with this schema, can someone please help > (Xerces 1.4.3) > > [Error] result.xml:3:12: Element type "birthday" must be declared. > [Error] result.xml:4:9: The content of element type "gift" must match > "(birthday)". >

xsd schema problem

2001-11-02 Thread Colin Savage
I can't figure out what is wrong with this schema, can someone please help (Xerces 1.4.3) [Error] result.xml:3:12: Element type "birthday" must be declared. [Error] result.xml:4:9: The content of element type "gift" must match "(birthday)". http://www.w3.org/2001/XMLSchema"; targetNamespace="urn: