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
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?
> 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
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
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
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
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
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
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:
>>
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
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
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
.
(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
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
(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
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
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
To: [EMAIL PROTECTED]
(B
(B otmail.com> cc:
(B
(B Subject: Re: Schema validation
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
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:
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
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
>>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
>>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
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
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
> 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
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
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 =
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
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
, 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
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
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
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
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
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
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]*
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
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.
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: Turning off DTD validation but allow Sc
|
| cc:
|
| Subject: Turning off DTD validation but allow Schema validation (
w
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
cc :
10/18/2002 08:03 PM Objet : Re: Schema
Validation Messages
Veuillez
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
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
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.
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
Kristian Halm
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
mk.fhg.de> cc:
Subject: Re: Sc
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
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
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
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
"Xuemin Guan"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
so.com> cc:
>
> 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
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
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
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
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
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
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--
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
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
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
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
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
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
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
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]
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
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'
! 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
ROTECTED] To: [EMAIL PROTECTED]
COM.COM> cc:
Subject: RE: schema
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]
cc:
Subject: RE: schema validation
problems ...
06/2
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
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
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
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
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
: 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
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,
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
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
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?
> > 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
AIL PROTECTED]
tware.com> cc:
Subject: Re: schema validation
starting
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
> 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
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
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
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
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,
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
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
--- 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">
--- 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
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
--- 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
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
100 matches
Mail list logo