Re: Online form gives 404 on certain schema (it can't handle?)

2023-04-18 Thread Bernd
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:

StAX Events - registered by default?

2015-03-03 Thread Bernd Eckenfels
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

Re: Cannot create a Schema object for an XSD file with the targetNamespace attribute set on an element

2015-08-06 Thread Bernd Eckenfels
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

Re: [ANNOUNCEMENT]: Apache Xerces-J 2.12.0 now available

2018-05-08 Thread Bernd Eckenfels
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

Re: Parsing a file inside a zip file locking zip file on windows

2018-07-16 Thread Bernd Eckenfels
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

Re: XML size validations

2024-03-07 Thread Bernd Eckenfels
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

Add schema to xmldocument

2007-01-08 Thread Bernd Kolb (KolbW@re)
;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 --

RE: Add schema to xmldocument

2007-01-09 Thread Bernd Kolb (KolbW@re)
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

RE: Add schema to xmldocument

2007-01-09 Thread Bernd Kolb (KolbW@re)
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

RE: Add schema to xmldocument

2007-01-09 Thread Bernd Kolb (KolbW@re)
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

RE: Add schema to xmldocument

2007-01-09 Thread Bernd Kolb (KolbW@re)
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

RE: Add schema to xmldocument

2007-01-10 Thread Bernd Kolb (KolbW@re)
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

RE: Add schema to xmldocument

2007-01-10 Thread Bernd Kolb (KolbW@re)
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])"