Set my environment to jdk1.3.1_02 simply to eliminate any possibiilty
of not being sure which version of xerces is being run - with jdk 1.4
and above properly implementing the endorsed override mechanism to
use a specific version of Xerces is required:
merely wanted to remove that possibilty as a f
Dave,
Thanks for taking the time to test this! It's
actually a problem which one of my co-workers is
having. After I posted to the group I also replicated
his environment and found that I couldn't reproduce
his problem. It's very strange. The only difference
between our environments is that I
Hello Jason,
Replicated your environment here to try to to replicate the problem
you are experiencing.
Running JDK1.3.1_02
Running Tomcat 4.0.1
Replaced the xerces.jar file located
in the C:\tomcat-4.0.1\common\lib directory
with xerces.jar from xerces 1.4.4
ran you example from bo
Hi Robert,
You need to add a new filter component to your parser pipeline. Your
filter must implement xni.parser.XMLDocumentFilter interface, and should
be responsible for adding a new element by calling an extra startElement
method.
You need also create your own configuration that will include
Hi,
I have XML that looks like:
I want to use XNI to insert an 'item element' when the 'endElement' event is
triggered for the closing 'list element.'
So far, I have tried extending the XNIPassThroughFilter. I would think that
I could call a super.startElement passing it the appropriat
"Sandy Gao" <[EMAIL PROTECTED]> writes:
>
>
>
>
>
>
>
> HTH,
You bet it does. Thanks. Designing the schema from a sample document
led me to placing the attribute first. I'll look at the w3 site for
the schema spec. Thanks again Sandy.
--
Thanks,
Jeff
,
| Jeffery B.
"Sandy Gao" <[EMAIL PROTECTED]> writes:
The mailer zapped my message body content, but I think you've answered
my question. Thanks. My question was relating to grouping. I did
in fact try putting a sequence in there, but still got errors.
What I want to do is define a complexType, containing
HTH,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--- Begin Message ---
Hello All.
Can anyone tell me the proper syntax for grouping attributes and
elements in a complexType? (if that's even my problem) I have the
following complexType:
,
|
|
|
|
`
And I'm getting the following error:
,
| [Error] sgdb.xsd:32:73: s4s-elt-inv
sgdb.xsd
Description: Binary data
untitled.xml
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What's the question?
BTW, your schema is in error. On line 33 and 38, you can't put
directly under . You may want to put an
in between.
Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
sgdb.xsd
Description: Binary data
untitled.xml
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--- Michael Glavassevich <[EMAIL PROTECTED]> wrote:
Michael,
Thanks for the input but actually I've verified that
Tomcat IS using xerces 1.44 - the same version that we
are both testing with on the command line. Any other
thoughts? If it's not encoding I can't imagine what
it could be - the xml
Hi Jason,
This doesn't look like an encoding issue to me. Since the input source is
a Reader, the parser is already presented with a stream of characters, and
thus there's nothing to decode. I'm taking a wild guess, but I
think that the problem might be that the versions of Xerces that your
collea
Hello,
One of my colleagues has run into a bit of a problem
with the following code:
try
{
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
DocumentBuilder parser =
factory.newDocumentBuilder();
String sInput = "DISCOVER_DATA
Point taken, accepted and agreed upon. You gave me flashbacks to when I
foolishly installed J++ from Developer Studio... don't remember exactly
what it did, but being new to coding at the time it took a long time to
find the problem.
I vote for your solution. That is, after all, why the funcito
Jacob Kjome wrote:
I don't know about anyone else, but I avoid using installer programs on
Windows to avoid exactly this intrusive behavior. I don't want anyone
other than myself modifying my system classpath variable. Classpath
issues are problematic enough without having some external enti
I don't know about anyone else, but I avoid using installer programs on
Windows to avoid exactly this intrusive behavior. I don't want anyone
other than myself modifying my system classpath variable. Classpath issues
are problematic enough without having some external entity polluting the
cla
I have fallen in love with Inno Setup. I assume you are deploying to
Windows, as the path issues don't seem to pop up as much with Unix users...
If you are installing to Unix, you can simply do the wrapper suggestion, or
instead of always running from the wrapper, use an installation jar to
mod
I would use a wrapper script to start the application that sets the
classpath to include the path to the jar file.
David Shontz
ExxonMobil Exploration UTC
Application Support/Application and Data Integration
CORP-RR-603
281-654-7214
Email: David Shontz/U-Houston/ExxonMobil
Internet Email: [EMAIL
Dear Erskine,
I watched this discussion thread with interest, as we had a similar
problem. The problem you describe seems to be a Browser/Encoding rather
than a Java/Xerces problem. I found the following article enlightning:
http://ppewww.ph.gla.ac.uk/~flavell/charset/form-i18n.html
We changed
I have developed a fairly simple application that saves it's documents in
XML and uses SAX to reload them. Now I want to deploy it so it can be
executed by end-users. The problem is that if somebody downloads the JAR
and executes it, the loader won't instantiate because it can't find the SAX
22 matches
Mail list logo