We would need to see the server side exception which is turned into a 404 (which seems to be an odd error for a internal error) to answer this. It looks ok (although it does not define a target namespace which is uncommon)
-- http://bernd.eckenfels.net
Von:
Hello,
I noticed that since 2.10 Xerces-J will ship and register
implementations for StAX Event classes. I can see that this is a first
step to provide a full StAX Parser/Serializer. But until then I wonder
what can be done with those events?
It currently creates the situation that the default
XM
g/2001/XMLSchema.xsd
BTW: top level elements do require a name="" attribute. You have
specified it on the I think thats not correct.
In your case, can you just use the targetNamespace on the schema
element? This is the most common usage as it cannot be mixed anyway.
Gruss
Bernd
Am
part of the software chain looks dangerous to me.
Gruss
Bernd
--
http://bernd.eckenfels.net
From: Mukul Gandhi
Sent: Tuesday, May 8, 2018 7:29:09 AM
To: j-users@xerces.apache.org
Subject: Re: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available
Hi Dave,
On Tue, May
idea to rely on the static
setUseCache(false) method)
You only see that on Windows because the other OS allows you to delete open
files (however the file handle will linger around on those OS, too)
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: Matthew Harrison
d then:
https://github.com/openjdk/jdk/blob/7c5e6e74c8f559be919cea63ebf7004cda80ae75/src/java.xml/share/classes/jdk/xml/internal/XMLSecurityManager.java#L139
When you go Jackson or DOM all is pretty bleak, however. And you still need to
do
accounting of allocations in your own code and handler
;http://sample.com simpleSchema.xsd ">
name
surname
I tried to add the xmlns, xmlns:xsi and xsi:schemaLocation attributes to the
root element by code, without success...
Any idea?
Thanks a lot!
Best wishes
Bernd Kolb
--
Yes, that's true.
Is it somehow possible to add
xmlns="http://sample.com";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
to an already parsed document?
As I said, I tried to add these arguments to the
documents root element, without success.
Thanks a
ould work, shouldn't
it
I am a bit confuesd....
Best reagards
Bernd Kolb
> -Original Message-
> From: ddeneer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 12:12 PM
> To: j-users@xerces.apache.org
> Subject: RE: Add schema to xmldocum
MLValidation.(XMLValidation.java:58)
at XMLValidation.main(XMLValidation.java:23)
Exception in thread "main"
Then I changed the jdk to 1.5_6 and the same code is working fine
Do you have any idea?
Regards
Bernd
> -Original Message-
> From: Michael Glavassev
writeEnvironmentReport: Useful properties found: -
# YAHOO! Your environment seems to be OK.
If you'd like to, I can send the code to you
Thanks again
Bernd
> -Original Message-
> From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 09, 2007 4:15 PM
The problem is, that I am already getting the Element-Objects.
Some framework is parsing the xml and I am not able to
change the DocumentBuilderFactory.
Is the only possibility to save the elements to a file and
load it again???
Thanks
Bernd
> -Original Message-
> From: M
Ok, thanks a lot!
Bernd
> -Original Message-
> From: Michael Glavassevich [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 10, 2007 3:58 PM
> To: j-users@xerces.apache.org
> Subject: RE: Add schema to xmldocument
>
> "Bernd Kolb \([EMAIL PROTECTED])"
13 matches
Mail list logo