RE: schema validation

2004-09-15 Thread Simon Kitching
On Thu, 2004-09-16 at 08:31, Simon Kitching wrote: > On Thu, 2004-09-16 at 04:02, Fuller, Alex wrote: > > A tangential question: > >Is it necessary to set the externalSchemaLocation property if you > > preload schema Grammars into a GrammarPool? Once the pool is loaded, > > it is given to t

RE: schema validation

2004-09-15 Thread Simon Kitching
On Thu, 2004-09-16 at 04:02, Fuller, Alex wrote: > A tangential question: >Is it necessary to set the externalSchemaLocation property if you > preload schema Grammars into a GrammarPool? Once the pool is loaded, > it is given to the parser's configuration. What if the pool is not locked?

RE: schema validation

2004-09-15 Thread Nikhil Dinesh
> A tangential question: >Is it necessary to set the externalSchemaLocation property if you preload > schema > Grammars into a GrammarPool? Once the pool is loaded, > it is given to the parser's configuration. What if the pool is not > locked? Its not necessary whether or not the pool is l

RE: schema validation

2004-09-15 Thread Fuller, Alex
PROTECTED] Sent: Wednesday, September 15, 2004 10:47 AM To: [EMAIL PROTECTED] Subject: Re: schema validation The externalSchemaLocation property must contain a string of the form "namespace1 location-url-1 namespace2 location-url-2 ..." In that string you must put the namespace/locat

Re: schema validation

2004-09-15 Thread Jeff Greif
rser.setProperty("http://apache.org/xml/properties/schema/external-sche maLocation",SchemaUrl); But there is still an error because of the schema-location in the xml-document! Thomas -Ursprüngliche Nachricht- Von: Ankit Pasricha [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. Se

Re: schema validation

2004-09-15 Thread Ankit Pasricha
See the http://apache.org/xml/properties/schema/external-schemaLocation property details in [1]. Use of this property will allow the schemaLocation entry in the instance document to be ignored. [1] http://xml.apache.org/xerces2-j/properties.html Ankit Pasricha XML Parser Development IBM Toronto

Re: Schema validation without file

2004-02-17 Thread Jeff Greif
At least two choices: 1. You could take all the in-memory schemas and pre-parse them into a grammar pool. See the Grammars FAQ. 2. You could put some URIs into the SCHEMA_LOCATION list but provide an EntityResolver subclass which knew how to find the in-memory strings or input streams correspond

Re: Schema validation without file

2004-02-17 Thread Phil Weighill-Smith
Provide an EntityResolver that returns your schema document as a stream of some sort wrapped in an InputSource and assign the entity resolver to the XML reader. class MyEntityResolver implements EntityResolver {     public InputSource resolveEntity(String publicId,     String systemId) thr

Re: Schema validation with SAX or DOMParser?

2004-01-05 Thread Reinhard Brandstädter
Gurdev Parmar wrote: Features: http://apache.org/xml/features/validation/schema to true. http://xml.org/sax/features/namespaces to true http://xml.org/sax/features/validation to true It was my own stupidity that kept me from validating the file: as you can see I only set the validation feature: >>

Re: Schema validation with SAX or DOMParser?

2004-01-05 Thread Gurdev Parmar
I, personally, set the following features and properties for my requirements and it works: Features: http://apache.org/xml/features/validation/schema to true. http://xml.org/sax/features/namespaces to true http://xml.org/sax/features/validation to true JAXP property: http://java.sun.com/xml/jaxp/p

Re: Schema validation with SAX or DOMParser?

2004-01-05 Thread Nitin . Gupta
hi there i faced the same problem some time back. I got the solution on this mailing list only. set the following feature to true. http://apache.org/xml/features/validation/dynamic It worked for my code. regards Nitin - T

Re: Schema validation

2003-09-12 Thread Jeffrey Rodriguez
Hi Marc. Current versiion of Xerces validates the Schema Component Constraint: Unique Particle Attribution. Look at the XML Schema Structures spec for this. This is only done by Xerces when "full schema check is turn on". I tested this with dom.Writer sample: + dom.Writer -syourxsd.xsd

Re: Schema validation using multiple schemas

2003-08-28 Thread Adachi Seiichi
. (B (BSeiichi (B (B (B>From: "Jeff Greif" <[EMAIL PROTECTED]> (B>Reply-To: [EMAIL PROTECTED] (B>To: <[EMAIL PROTECTED]> (B>Subject: Re: Schema validation using multiple schemas (B>Date: Wed, 27 Aug 2003 07:29:02 -0700 (B> (B>The XML Schema spe

Re: Schema validation using multiple schemas

2003-08-27 Thread Jeff Greif
dnesday, August 27, 2003 5:00 AM (BSubject: Re: Schema validation using multiple schemas (B (B (B> Thanks for the explanation on the schema processors. I now understand (B> better on how they are implemented and how they work. Is the general (B> principle Jeff stated specified in

Re: Schema validation using multiple schemas

2003-08-27 Thread Adachi Seiichi
(B (B (B>From: "Bob Foster" <[EMAIL PROTECTED]> (B>Reply-To: [EMAIL PROTECTED] (B>To: <[EMAIL PROTECTED]> (B>Subject: Re: Schema validation using multiple schemas (B>Date: Tue, 26 Aug 2003 18:10:53 -0500 (B> (B>Yes, that all makes sense. I stil

Re: Schema validation using multiple schemas

2003-08-27 Thread Adachi Seiichi
atter differences which Bob and Jeff have kindly been (Bexplaining. (B (B>From: [EMAIL PROTECTED] (B>Reply-To: [EMAIL PROTECTED] (B>To: [EMAIL PROTECTED] (B>Subject: Re: Schema validation using multiple schemas (B>Date: Tue, 26 Aug 2003 18:13:02 -0400 (B> (B> (B>It seems

Re: Schema validation using multiple schemas

2003-08-26 Thread Bob Foster
ssage - (BFrom: "Jeff Greif" <[EMAIL PROTECTED]> (BTo: <[EMAIL PROTECTED]> (BSent: Tuesday, August 26, 2003 11:18 AM (BSubject: Re: Schema validation using multiple schemas (B (B (B> Here are the general principles: (B> 1. The schema processor must be able to obta

Re: Schema validation using multiple schemas

2003-08-26 Thread Eric_Schwarzenbach
To: [EMAIL PROTECTED] (B (B otmail.com> cc: (B (B Subject: Re: Schema validation

Re: Schema validation using multiple schemas

2003-08-26 Thread Jeff Greif
D]> (BTo: <[EMAIL PROTECTED]> (BSent: Tuesday, August 26, 2003 5:15 AM (BSubject: Re: Schema validation using multiple schemas (B (B (B> Bob, Jeff, (B> (B> Thank you for your replies. (B> (B> I have 2 questions. (B> (B> 1. I understand that there may be a need

Re: Schema validation using multiple schemas

2003-08-26 Thread Adachi Seiichi
e, Xerces-C 2.3.0 did not (Breturn any errors.) Or is this strictly an implementation dependent matter? (B (BThanks, (B (BSeiichi (B (B (B (B>From: "Jeff Greif" <[EMAIL PROTECTED]> (B>Reply-To: [EMAIL PROTECTED] (B>To: <[EMAIL PROTECTED]> (B>Subject: Re:

Re: Schema validation using multiple schemas

2003-08-25 Thread Jeff Greif
Probably xerces proceeds like this: (B (BXerces must be able to directly locate the schema for the namespace of the (Broot element. It does not read schema#1 (for a seemingly irrelevant (Bnamespace) in the hopes of finding the location of schema#2. If schema #1 (Bis in the schemaLocation at

Re: Schema validation using multiple schemas

2003-08-25 Thread Bob Foster
Import doesn't make one schema define multiple namespaces. A processor is (Bnot required to resolve or remember the schemaLocation of an imported (Bschema. Specify the schemaLocation for both schemas in your instance (Bdocument, e.g., (B (Bxsi:schemaLocation='http://foo.com/namespace1 ns1.xsd

RE: schema validation and date datatype

2003-06-30 Thread O'Keeffe, Michael
>>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 loo

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: schema validation : choice with min/maxOccurs in group not allow ?

2003-05-26 Thread Gildas Guillemot
Sandy Gao a écrit : I have a problem of XML schema validation with Xerces 2.4.0. it seems that the inclusion of an element 'choice' with the attributs minOccurs and/or maxOccurs into a element 'group' was not allow by xerces. If you look at section 3.7.2 of the structure spec [1], you'll find

Re: schema validation : choice with min/maxOccurs in group not allow ?

2003-05-26 Thread Sandy Gao
> I have a problem of XML schema validation with Xerces 2.4.0. it seems > that the inclusion of an element 'choice' with the attributs minOccurs > and/or maxOccurs into a element 'group' was not allow by xerces. If you look at section 3.7.2 of the structure spec [1], you'll find the following (rig

Re: schema validation : choice with min/maxOccurs in group not allow ?

2003-05-23 Thread K. Venugopal
Hi, Code says : // Neither minOccurs nor maxOccurs may be specified // for the child of a model group definition. may be one of the developers can help you by pointing to the spec. you could use this until then . Thanks venu Gildas Guil

RE: schema validation using xerces sax parser

2003-04-22 Thread Shital Joshi
Sent: Tuesday, April 22, 2003 12:54 PM To: [EMAIL PROTECTED] Subject: RE: schema validation using xerces sax parser Hi, here is some code you can use, I routinely validate larger files. You can also extend your virtual memory if you need too. ** private String SCHEMA =

RE: schema validation using xerces sax parser

2003-04-22 Thread Doug Helton
ex) { parseError.append( "\n" ); parseError.append( ex.getMessage()); errorCount++; } } Thanks, Doug -Original Message- From: Shital Joshi [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2003 12:01 PM To: [EMAIL PROTECTED] Subjec

RE: schema validation using xerces sax parser

2003-04-22 Thread Shital Joshi
problem. Thanks again, -Shital Joshi 732-560-0010 x215 MFG Systems -Original Message- From: Ragunath Marudhachalam [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2003 11:53 AM To: [EMAIL PROTECTED] Subject: RE: schema validation using xerces sax parser Hi shital, This is a

RE: schema validation using xerces sax parser

2003-04-22 Thread Ragunath Marudhachalam
, April 22, 2003 11:42 AM To: [EMAIL PROTECTED] Subject: RE: schema validation using xerces sax parser Hi there, I searched web for XML Schema validation examples which uses Xerces SAX parser. The XML file which I am gonna use, is around 20 MB in size. I saw couple of examples which uses DOM

RE: schema validation using xerces sax parser

2003-04-22 Thread Ragunath Marudhachalam
spe.toString ()); throw new org.xml.sax.SAXException(spe); } } Ragu CircuitVision -Original Message- From: Shital Joshi [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2003 11:42 AM To: [EMAIL PROTECTED] Subject: RE: schema validation using xerces sax parser Hi the

RE: schema validation using xerces sax parser

2003-04-22 Thread Shital Joshi
in advance, -Shital Joshi MFG Systems -Original Message- From: Glenn Barnard [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 22, 2003 11:07 AM To: [EMAIL PROTECTED] Subject: Re: schema validation using xerces sax parser Try using a Parser Configuration and register a error handler

Re: schema validation using xerces sax parser

2003-04-22 Thread Glenn Barnard
Try using a Parser Configuration and register a error handler with it. From: "Shital Joshi" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: schema validation using xerces sax parser Date: Tue, 22 Apr 2003 10:11:03 -0400 Hi there, I am trying to validate a 20MB XML

RE: Schema Validation

2003-04-08 Thread Greg McCreath
Ahh . Thank you Jeff, my apologies. I must have been looking TOO hard! Thanks again. Greg. -Original Message- From: Jeff Greif [mailto:[EMAIL PROTECTED] Sent: 08 April 2003 20:17 To: [EMAIL PROTECTED] Subject: Re: Schema Validation MessageThe noNamespaceSchemaLocation

Re: Schema Validation

2003-04-08 Thread Jeff Greif
MessageThe noNamespaceSchemaLocation property takes just one string, the URI of the schema. The schemaLocation property takes space-separated URIs in pairs, each pair containing the namespace URI and the schema URI. So, just remove http://mytestdomain.com/testurl from the noNamespaceSchemaLocatio

Re: Schema validation in 2.3.0 version

2003-03-13 Thread sandygao
I believe the schema is in error: the schema spec requires that the canonical representations of default/fixed values have to be valid with respect to the type. In the VoiceXML schema, the canonical rep of the float value 100.0 is "1.0E2", which doesn't conform to the pattern "[0-9]+|[0-9] +.[0-9]*

Re: Schema validation question again

2003-02-20 Thread Jesus M. Salvo Jr.
Jeff, Thanks for the explanation. John Jeff Greif wrote: the schema does not mention the attribute elementFormDefault, so the elements are unqualified. This means that the global elements (elements whose declarations are children of the schema element) are in the target namespace, while local elem

Re: Schema validation question again

2003-02-20 Thread Jeff Greif
the schema does not mention the attribute elementFormDefault, so the elements are unqualified. This means that the global elements (elements whose declarations are children of the schema element) are in the target namespace, while local elements (defined within complex types) are in no namespace.

Re: Turning off DTD validation but allow Schema validation ( was Re: Schema validation with Xerces and JAXP )

2003-01-11 Thread Jesus M. Salvo Jr.
| | To: [EMAIL PROTECTED] | | cc: | | Subject: Turning off DTD validation but allow Sc

Re: Turning off DTD validation but allow Schema validation ( was Re: Schema validation with Xerces and JAXP )

2003-01-11 Thread neilg
| | cc: | | Subject: Turning off DTD validation but allow Schema validation ( w

Turning off DTD validation but allow Schema validation ( was Re: Schema validation with Xerces and JAXP )

2003-01-09 Thread Jesus M. Salvo Jr.
Okay ... I now know how to do Schema validation with JAXP: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXPDOM9.html but another problem that I have which I mentioned above is: Error: URI=null Line=6: cvc-elt.1: Cannot find the declaration of element 'SOAP-ENV:Envelope'. ... and "SOAP-ENV

Réf. : Re: Schema Validation Messages

2002-10-21 Thread Nicolas . GOLOUBENKO
cc : 10/18/2002 08:03 PM Objet : Re: Schema Validation Messages Veuillez

Re: Schema Validation Messages

2002-10-18 Thread Joseph Kesselman
Having attempted to write parsers myself once or twice in the past, I've found that it can be surprisingly difficult to get both good parser performance and really useful error messages. But I agree it's worth doing, if it can be done... __ Joe Kesselman / I

Re: Schema Validation Messages

2002-10-18 Thread Eric_Schwarzenbach
I second that...with great emphasis. I also use Xerces for many content development tools and processes used by content editors. I'd like to encorage the notion that while Xerces is a programmer tool, it is also likely to be the basis for many other tools (often non-commercial, often short-term g

RE: Schema validation

2002-10-04 Thread James Bates
Sorry people. Please forget I ever wrote this mail... Imagining a sequence of A's of length 3, followed by a length of sequence of length 4, we arrive at two sequences of A's with between 3 and 5 each, for a total indeed of 7 A's. Wasn't thinking straight this afternoon. Sorry again.

Re: Schema validation

2002-08-16 Thread neilg
Hi Peter, Well, you can't exactly convert schema files into .class files with Xerces, but you can certainly get the parser to compile them into an internal representation which it can then use to validate multiple instance documents. (In fact, you can do this with external DTD subsets too!) For

Re: Schema validation internals

2002-07-03 Thread sandygao
Kristian Halm <[EMAIL PROTECTED] To: [EMAIL PROTECTED] mk.fhg.de> cc: Subject: Re: Sc

Re: Schema validation internals

2002-07-03 Thread Kristian Halm
Hi sorry for intervening in this thread but I got a question concerning the PSVI you mentioned. They are stored in SchemaGrammar objects, like all other schema components. If you have user-defined simple types in your schema document, and parse such document (either parse it directly using Xerces

Re: Schema validation internals

2002-06-28 Thread sandygao
Hi David, > - Does the class SchemaGrammar hold all info extracted from a schema or > are there any other places to look for schema information? Unless you really want to work with Xerces *internals*, we don't encourage you to play with "SchemaGrammar" directly. Instead, you can look at the pac

Re: schema validation

2002-06-21 Thread Jan Dvorak
Hi, It's true that the 'Amount' element doesn't have children. But it's also true that it's not valid: it's not a valid xs:decimal. The message, while precise, is not easy to understand. Jan LAMY Olivier wrote: [...] > Why Xerces send to me the following error ? > **Parsing Error**|ligne:5

Re: schema validation error

2002-04-15 Thread Laura Hatcher
i believe that the problem is in your schema, so maybe your question will best be answered on the xml-schema or xml-dev mailing list. Marko Asplund wrote: > i'm using Xerces 2.0.1 SAX2 API for validating a XML document based on > XML schema with the following parser options: > http://xml

Re: Schema Validation

2002-03-18 Thread sandygao
"Xuemin Guan" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> so.com> cc:

Re: Schema Validation

2002-03-18 Thread Xuemin Guan
> > 5. The Xerces grammar caching way (the basis of 1&2): preparse the schemas, > and put them in a grammar cache/pool which is accessible by the parser. > Could you please give me a code snippet to demonstrate this? Thanks a lot! Xuemin

Re: Schema Validation

2002-03-15 Thread sandygao
There are many ways of doing so. You can choose the one that best suits your needs. 1. The DOM3 way: preparse the schema using DOMASBuilder, set the ASModel on the parser, then parse your instance. 2. The JAXP way: specify the schemaSource property. 3. The EntityResolver way: return the schema l

Re: Schema validation of pre-parsed instances

2002-02-26 Thread Steven J Baker
Dear Laura Laura Hatcher wrote: Out of curiousity why must you determine the type of the XML instance? The motivation is that a reliable XML validation web service can substantially reduce the amount of code written for data quality checking and allow all parties in a transaction to use the sam

Re: Schema validation of pre-parsed instances

2002-02-25 Thread Laura Hatcher
Out of curiousity why must you determine the type of the XML instance? And is the schema name or location specified by the XML instance? Because I would imagine that if you were determining the type of the XML instance just to specify the schema name of which to perform validation then it would b

RE: schema validation using xerces

2001-12-07 Thread Bob Schloss
ECTED]> cc: Bob Schloss/Watson/[EMAIL PROTECTED] Subject: RE: schema validation using xerces Bob, Thanks for the feedback, but the global attribute mustUnderstand is declared in the SoapebXML.xsd. I think that the schema cannot recognise this attribute because it occurs after the imported file

RE: schema validation using xerces

2001-12-06 Thread Priya Mahajan
Bob, Thanks for the feedback, but the global attribute mustUnderstand is declared in the SoapebXML.xsd. I think that the schema cannot recognise this attribute because it occurs after the imported file, but, I cant think of a way to get around this problem and the mustUnderstand attribute belongs

RE: schema validation using xerces

2001-12-05 Thread Bob Schloss
Good luck, Bob Priya Mahajan <[EMAIL PROTECTED]> on 12/05/2001 12:35:19 PM Please respond to [EMAIL PROTECTED] To: Bob Schloss/Watson/[EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject: RE: schema validation using xerces Me again, attaching the xml and schemas -Original Message--

RE: schema validation using xerces

2001-12-05 Thread Priya Mahajan
Me again, attaching the xml and schemas -Original Message- From: Bob Schloss [mailto:[EMAIL PROTECTED] Sent: 05 December 2001 17:23 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: schema validation using xerces This message says that in the schema SoapebXML.xsd, the element

Re: schema validation using xerces

2001-12-05 Thread Bob Schloss
This message says that in the schema SoapebXML.xsd, the element http://www.ebxml.org/namespaces/messageHeader"; schemaLocation="../webapps/soap/schemas/ebXML.xsd"/> does not match the which is is the file 'webapps/soap/schemas/ebXML.xsd'. You didn't attach that file so I can't determine if th

RE: Schema validation of a DOM Document instance

2001-11-14 Thread Vlad . Epshtein
t can be done: http://xml.apache.org/xerces-j/faq-general.html#faq-4 V. Please respond to xerces-j-user <[EMAIL PROTECTED]> To:        xerces-j-user <[EMAIL PROTECTED]> cc:         Subject:        RE: Schema validation of a DOM Document instance Hi Taras,                 Even tho

RE: Schema validation of a DOM Document instance

2001-11-14 Thread Doug Helton
Hi Taras, Even though the DOM is in memory you can stil validate it. At least you can if you are using xerces 1.4.3. It is a round about way but it still works. you can serialize the DOM then create a inputSource to pass to the parser after setting the parser to validate against the sch

Re: Schema validation error with custom entity resolver

2001-09-25 Thread Terry
ally started working! (I'll go and read what this actually means now...) Thanks, Terry - Original Message - From: "Bob Schloss" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 24, 2001 2:11 PM Subject: Re: Schema validation error with custom e

Re: Schema validation error with custom entity resolver

2001-09-24 Thread Terry
rk with my code though! I get the same error as before. Terry - Original Message - From: "Bob Schloss" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 24, 2001 2:11 PM Subject: Re: Schema validation error with custom entity resolver Terry, Thi

Re: Schema validation error with custom entity resolver

2001-09-24 Thread Bob Schloss
Terry, This *might* be an error in your schemas related to qualified/unqualified defaulting. You may want to post sections of your two schemas here so we can look; or try things with XSV. Bob "Terry" <[EMAIL PROTECTED]> on 09/24/2001 01:46:46 AM Please respond to [EMAIL PROTECTE

RE: Schema validation problems

2001-07-06 Thread sandygao
ax.SAXCount.print(SAXCount.java:158) at sax.SAXCount.main(SAXCount.java:392) PS: I just saw your email Jörn and my xml file and schema are in the same location... -Original Message- From: NeSmith, David [mailto:[EMAIL PROTECTED] Sent: Thursday, July 05, 2001 6:01 PM To: '[EMAIL PROTECTED]

RE: Schema validation problems

2001-07-05 Thread NeSmith, David
the same location... -Original Message- From: NeSmith, David [mailto:[EMAIL PROTECTED] Sent: Thursday, July 05, 2001 6:01 PM To: '[EMAIL PROTECTED]' Subject: RE: Schema validation problems PS: I am using jdk1.3 and Xerces 1.4.1 -Original Message- From: NeSmith, Dav

RE: Schema validation problems

2001-07-05 Thread NeSmith, David
PS: I am using jdk1.3 and Xerces 1.4.1 -Original Message- From: NeSmith, David [mailto:[EMAIL PROTECTED] Sent: Thursday, July 05, 2001 5:56 PM To: '[EMAIL PROTECTED]' Subject: Schema validation problems I am getting a null pointer exception every time I try to validate a file against it'

RE: schema validation problems ...

2001-06-27 Thread Ala Heno
! Do you have any idea why that could happen? Thanks again, Ala -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 3:58 PM To: [EMAIL PROTECTED] Subject: RE: schema validation problems ... Hi Ala. Validation error are not reported through

RE: schema validation problems ...

2001-06-27 Thread sandygao
ROTECTED] To: [EMAIL PROTECTED] COM.COM> cc: Subject: RE: schema

RE: schema validation problems ...

2001-06-27 Thread Ala Heno
that for some reason the parser couldn't locate the Schema, but it is only a guess ... Do you have any explanation for that? Thanks in advanced, Ala -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 3:58 PM To: [EMAIL PROTECTED]

RE: schema validation problems ...

2001-06-27 Thread sandygao
cc: Subject: RE: schema validation problems ... 06/2

RE: schema validation problems ...

2001-06-27 Thread Ala Heno
Hi Juliane and thank you for answering me. I changed the path of the xsd files but still got the same exception. This time, I created a very basic java class that simply parses XML files using SAX parser but still get unexpected results. Attached please find the foolwing files: Main.java - a ver

Re: Schema validation

2001-06-22 Thread Willy Ching
AIL PROTECTED] > Sent: Thursday, June 21, 2001 5:38 PM > To: [EMAIL PROTECTED] > Subject: RE: Schema validation > > Could you send the xml decl part from both your xml and schema files. It > might throw some light. > > Sire > > Ala Heno <[EMAIL PROTECTED]> on

RE: Schema validation

2001-06-21 Thread Ala Heno
Hi Sire and thank you for the reply. Attached please find a very simple Schema and a very simple XML file. Ala -Original Message- From: sire chembiparambil [mailto:[EMAIL PROTECTED] Sent: Thursday, June 21, 2001 5:38 PM To: [EMAIL PROTECTED] Subject: RE: Schema validation Could you

RE: Schema validation

2001-06-21 Thread William Guynes
f to 2000/10 spec or upgrading to latest stable Xerces release is the only solution I can see.   -- Will -Original Message-From: Ala Heno [mailto:[EMAIL PROTECTED]Sent: Thursday, June 21, 2001 10:27 AMTo: [EMAIL PROTECTED]Subject: RE: Schema validation Thank you for the re

RE: Schema validation

2001-06-21 Thread sire chembiparambil
Could you send the xml decl part from both your xml and schema files. It might throw some light. Sire Ala Heno <[EMAIL PROTECTED]> on 06/21/2001 12:26:31 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: Schema validation Thank you for the reply. I do

RE: Schema validation

2001-06-21 Thread Ragunath Marudhachalam
: Ala Heno [mailto:[EMAIL PROTECTED]Sent: Thursday, June 21, 2001 12:27 PMTo: [EMAIL PROTECTED]Subject: RE: Schema validation Thank you for the reply. I do have the schema file locally, and the XML file points to it, I think that if I don't have I would get FileNotFoundExce

RE: Schema validation

2001-06-21 Thread Ala Heno
4:45 PMTo: '[EMAIL PROTECTED]'Subject: RE: Schema validation Do you also have the personal.xsd file?  That's the schema file that personal-schema.xml is looking to use.  If you don't have that .xsd available locally, then the very first tag, personnel,

RE: Schema validation

2001-06-21 Thread William Guynes
Do you also have the personal.xsd file?  That's the schema file that personal-schema.xml is looking to use.  If you don't have that .xsd available locally, then the very first tag, personnel, will fail because it is not declared.   -- Will   -Original Message-From: Ala Heno [mailt

Re: Schema validation

2001-06-19 Thread Elena Litani
Hi, Schawn, > Can you indicate to the parser what schemas to use, and if so how? Currently it is a requirement to use schemaLocation or noNamespaceLocation. However, we are working on providing a feature that would allow users to set schemas before parse() is called. Hopefully, we will be able t

Re: schema validation starting

2001-06-13 Thread Satrajit Roy
That's the error string returned by Xerces parser. Zhaohua Meng wrote: > > > > I tried that and I still have a problem as follows: > > > > > > URI:file:/C:/Program > > What is the above line indicating? If you are using it as a URI, it > should be file:///C:Program. That might be the reason?

Re: schema validation starting

2001-06-13 Thread Zhaohua Meng
> > I tried that and I still have a problem as follows: > > > > URI:file:/C:/Program What is the above line indicating? If you are using it as a URI, it should be file:///C:Program. That might be the reason? Just a guess. > Files/VisualCafe4/Projects/b2b-prototype/configs/b2bServerDescrip

Re: schema validation starting

2001-06-13 Thread sandygao
AIL PROTECTED] tware.com> cc: Subject: Re: schema validation starting

Re: schema validation starting

2001-06-13 Thread Satrajit Roy
I posted this a few days back and haven't got any response. Any help would be appreciated. Thanks. Satrajit Roy wrote: > > I tried that and I still have a problem as follows: > > URI:file:/C:/Program > Files/VisualCafe4/Projects/b2b-prototype/configs/b2bServerDescriptor_xsd.xml > line#: 5 m

Re: schema validation starting

2001-06-07 Thread Filkorn Roman
> Hi, > > I am trying to look at it, but no results. :[ > > > > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1584 > > > > Using this case... (xml & xsd from that source) > > > The bug description matches exactly with my situation and I get the same > > error with 1.4 as well and I am assumin

Re: schema validation starting

2001-06-07 Thread Filkorn Roman
Hi, I am trying to look at it, but no results. :[ > > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1584 > Using this case... (xml & xsd from that source) > The bug description matches exactly with my situation and I get the same > error with 1.4 as well and I am assuming this bug was not f

Re: schema validation starting

2001-06-07 Thread Satrajit Roy
I tried that and I still have a problem as follows: URI:file:/C:/Program Files/VisualCafe4/Projects/b2b-prototype/configs/b2bServerDescriptor_xsd.xml line#: 5 msg: Element type "b2bServerDescriptor" must be declared. org.xml.sax.SAXParseException: Element type "b2bServerDescriptor" must be d

Re: Schema validation handler.

2001-04-25 Thread Milind Gadre
Peter, this is such a common question, that perhaps it needs to go into the Xerces FAQ. Until then, attached is some sample code ... Regards... Milind Gadre ecPlatforms, Inc 901 Mariner's Island Blvd, Suite 565 San Mateo, CA 94404 C: 510-919-0596 F: 815-352-0779 [EMAIL PROTECTED] - Original

RE: Schema Validation Problem

2001-04-21 Thread Orford, Jeffrey
Thanks Kenny. I don't see that happening on my first glance, but I'll really dig in on Monday. Jeff O. -Original Message- From: Kenny MacLeod [mailto:[EMAIL PROTECTED] Sent: Saturday, April 21, 2001 4:22 PM To: [EMAIL PROTECTED] Subject: Re: Schema Validation Problem Jeff,

Re: Schema Validation Problem

2001-04-21 Thread Kenny MacLeod
Jeff, Maybe you have conflicting versions of the same class in your classpath? Is there anything before xerces.jar that could conflict? - Original Message - From: "Orford, Jeffrey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 9:13 PM Subject: Schema Validat

RE: schema validation problem in xerces 1.3.0

2001-03-15 Thread Derek Hachey \(UNB\)
PROTECTED] Sent: March 15, 2001 00:59 To: [EMAIL PROTECTED] Subject: Re: schema validation problem in xerces 1.3.0 --- Sibon Barman <[EMAIL PROTECTED]> ha scritto: > I am having problem in validating a xml document > with xml schema using > xerces 1.3.0: > > Here is the xml d

Re: schema validation problem in xerces 1.3.0

2001-03-15 Thread rasco rasco
--- Sibon Barman <[EMAIL PROTECTED]> ha scritto: > I am having problem in validating a xml document > with xml schema using > xerces 1.3.0: > > Here is the xml document: > xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"; > > xsi:noNamespaceSchemaLocation="uilfparam.xsd">

Re: schema validation problem (element type element_name must be declared))

2001-02-22 Thread rasco rasco
--- rasco rasco <[EMAIL PROTECTED]> ha scritto: > > --- Grégoire_Pau <[EMAIL PROTECTED]> ha scritto: > Hi, > > > > Maybe this is just a URI problem for XMLSchema and > > XMLSchema-Instance. > > Just check the date ! 2000/10 (XMLSchema CR) > instead > > of 1999 > > > > then, try to use : > > xml

Re: schema validation problem (element type element_name must be declared))

2001-02-22 Thread Ian Roberts
On Thu, 22 Feb 2001, Grégoire Pau wrote: > Hi, > > Maybe this is just a URI problem for XMLSchema and XMLSchema-Instance. > Just check the date ! 2000/10 (XMLSchema CR) instead of 1999 > > then, try to use : > xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"; > instead of : > xmlns:xsd="http://ww

Re: schema validation problem (element type element_name must be declared))

2001-02-22 Thread rasco rasco
--- Grégoire_Pau <[EMAIL PROTECTED]> ha scritto: > Hi, > > Maybe this is just a URI problem for XMLSchema and > XMLSchema-Instance. > Just check the date ! 2000/10 (XMLSchema CR) instead > of 1999 > > then, try to use : > xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"; > instead of : > xmlns:xs

Re: schema validation problem (element type element_name must be declared))

2001-02-22 Thread Grégoire Pau
Hi, Maybe this is just a URI problem for XMLSchema and XMLSchema-Instance. Just check the date ! 2000/10 (XMLSchema CR) instead of 1999 then, try to use : xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"; instead of : xmlns:xsd="http://www.w3.org/1999/XMLSchema"; and : xmlns:xsi="http://www.w3.or

  1   2   >