xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ne...@ca.ibm.com
Subject Re: Am I the only one using schema validation with Xerces?
Date Tue, 05 Jun 2001 20:07:43 GMT
Hi Jayme,

Sorry about the slowness of the response; I kept meaning to reply but never
got around to it.  :-(
This problem should have been fixed; try doing a fresh CVS checkout and
build and see what results you get.

Hope that helps,
Neil

Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  416-448-3519, T/L 778-3519
E-mail:  neilg@ca.ibm.com



"Edwards, Jayme" <JCEdwards@software.rockwell.com> on 06/05/2001 03:58:35
PM

Please respond to general@xml.apache.org

To:   "'general@xml.apache.org'" <general@xml.apache.org>,
      "'xerces-dev@xml.apache.org'" <xerces-dev@xml.apache.org>
cc:
Subject:  Am I the only one using schema validation with Xerces?


Please, I've posted this issue two times already with no response - is
anyone farmiliar with this section of the code?

Jayme

-----Original Message-----
From: Edwards, Jayme [mailto:JCEdwards@software.rockwell.com]
Sent: Thursday, May 24, 2001 1:04 PM
To: 'general@xml.apache.org'; 'xerces-dev@xml.apache.org'
Subject: IMPORTANT: Using substitutionGroup and/or abstract to
substitute types ( New File)


Please, we really need substitutiongroup or abstract type replacement
support to get this product working. If any commiters can look at this
error being thrown and figure out why the traverseSchema method is
overwriting the bounds of an array I can even try fixing it myself. I'm
just not real farmiliar with the xerces schema validation packages.

-Jayme

-----Original Message-----
From: Edwards, Jayme [mailto:JCEdwards@software.rockwell.com]
Sent: Wednesday, May 23, 2001 12:28 PM
To: Apache General XML Help Mailing List (E-mail); Apache Xerces-Dev
Mailing List (E-mail)
Subject: RE: Using substitutionGroup and/or abstract to substitute types
( New File)


I fixed a couple typos in the first zipfile - please try this with 1.4.0
It's behaving like it's substitutionGroup/abstract support is broken unless
I'm missing something.

-Jayme

-----Original Message-----
From: Etienne Roy [mailto:eroy@us.ibm.com]
Sent: Wednesday, May 23, 2001 10:51 AM
To: general@xml.apache.org
Subject: Re: Using substitutionGroup and/or abstract to substitute types



Edwards,

I didn't try Xerces 1.4.0 yet, but with Xerces 1.3.1, you have to change
the URI of xsd: and xsi: namespaces to http://www.w3.org/2000/10/XMLSchema
and idem-instance
(/2001/ --> /2000/10/), that'll fix the two 'General Schema Errors'
And I think you meant imp:impChild in your instance instead of
imp:childType.
With those minor changes, that should work ok.

Regards

--
Etienne



|--------+--------------------------------->
|        |          "Edwards, Jayme"       |
|        |          <JCEdwards@software.roc|
|        |          kwell.com>             |
|        |                                 |
|        |          05/23/2001 09:51 AM    |
|        |          Please respond to      |
|        |          general                |
|        |                                 |
|--------+--------------------------------->
  >
-----------------------------------------------------------------------------------------------------------|

  |
|
  |      To:     "Apache Xerces-Dev Mailing List (E-mail)"
<xerces-dev@xml.apache.org>, "Apache General XML   |
  |       Help Mailing List (E-mail)" <general@xml.apache.org>
|
  |      cc:
|
  |      Subject:     Using substitutionGroup and/or abstract to substitute
types                             |
  |
|
  |
|
  >
-----------------------------------------------------------------------------------------------------------|





Schema/Xerces gurus,

I have a need to create schemas that create types based off an existing
schema with a different target namespace then the one being extended and
use the new types in instance documents where the new element name in the
importing schema can be validated. I have tried Xerces 1.3.1 and 1.4.0's
schema support and am rather impressed with the level of support based off
the October/May specifications. However I cannot seem to get Xerces to
recognize substituted types in the 2 or so cases I have tried.

I've attached a zipfile with 3 files that can be used to reproduce a bug
that occurs when you try to do what i was describing. Unzip it to the
directory of your choice and place the version of xerces you want to use in
the directory you extracted to. Execute run.bat to run the validation case.

If anyone can please point me to what I need to do to get this type of
functionality to work with Xerces I would greatly appreciate it.

 <<substtest.zip>>
Jayme Edwards
Software Architect
Rockwell Software
JCEdwards@software.rockwell.com



---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

#### substtest.zip has been removed from this note on May 23 2001 by
Etienne Roy




---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org





---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message