- Original Message -
From: "Mark Sizer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 1:10 PM
Subject: RE: More validating schema problems... A question, not an answer
> Sandy (et al),
>
> I've been out of touch with XML for a couple years (remember back whe
You will find that in jaxp 1.0.1
version
- Original Message -
From: "Jason Rizer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 4:02 PM
Subject: RE: Are these two equivalent?
> Lei,
>
> Thanks for taking the time to respond. I've read a
> bit about JAXP and wa
Can anyone help me? My Xerces parser is able
to parse a Well-formed document using the code, with no problems.
try
{ parser.parse( fn ) ;
} catch( Exception e )
{ consoleOutput( e + ": Exception
invoking parser", 0 ) ; }
However, when I try to parse an xm
Lei,
Thanks for taking the time to respond. I've read a
bit about JAXP and was generally aware of this
approach. The problem I'm having though is that I
can't find any org.apache.xerces.jaxp
packages/classes. Could it be that they were only
added to a later implementation of xerces? Thanks
aga
Title: RE: Are these two equivalent?
There does exist a non implementation specific way for creating a document -- JAXP 1.1. With JAXP 1.1, you can achieve your goal by doing following:
...
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
...
Docum
Hi,
I tried to set schema validation like this
class try1 {
public static void main(String[] args) {
org.apache.xerces.parsers.DOMParser parser;
org.w3c.dom.Element ele;
try {
parser = new org.apache.xerces.parsers.DOMParser();
parser.setFeature("http://xml.o
Hello,
I believe the current limitation is about 8 elements in an "all".
I'm working on a change to the implementation for the Xerces-J 1.4
release that will remove the limitation. I'll post to xerces-j-user when
the change is in CVS.
Thanks,
Henry
-
I believe this is a known performance issue, with a resolution targetted
for Xerces 2. The general rule in the mean time is to not use 'all' when you
plan to have more than 3(?) elements at that level.
SJG
-Original Message-
From: Benson Cheng [mailto:[EMAIL PROTECTED]
Sent: Friday, Ap
I want my schema to allow the xml elements in any order, so I changed all of
the "sequence" to "all", on some of the schemas works fine, but some of them
will run for a long time and finally give me an "OutOfMemoryError" as below:
Exception in thread "main" java.lang.OutOfMemoryError
<>
I
Is there an archive for this mailing list available anywhere? I don't seem
to be able to find one that's still up...
Thanks,
David.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I am trying to write my first XML schema for a complex document and need
someone's help very much.
Having the following example :
...
If it is possible to express in XML schema definition language that element
may be omitted in , but _if_ it it is present in , or element
_must_
I don't think it is not going to init because before parsing xml file i am
getting a text file from server and displaying the data to browser in that
works fine but when it comes to it doesn't parse the given stream. But if i
refresh the applet with ctrl+shift+refresh it works fine.
Vanasri
- O
Citat "Hollenbeck, Scott" <[EMAIL PROTECTED]>:
---8>< [CUT] 8><---
> +1.703444 or
>
> This pattern seems to work:
>
>
> This one (switching the order of the choices) doesn't:
>
---8>< [CUT] 8><---
Well unfortunately I don't have the answer to your question,
but i have a solution, that
Sure you can remove the !Doctype statement in your xml file. But it's a
little bit too radical!!!
Which version of Xerces are you using? In Xerces 1.2.3 there are features
you can add to your parser to force it not to parsing with the DTD.
For example:
DOMParser parser = new DOMParser();
I'm using Xerces-J 1.3.1, and I noticed an interesting anomaly when working
with regular expressions in a pattern facet yesterday. I was trying to
create a pattern that would match either an empty element or a string
element in a specific format, like this:
+1.703444 or
This pattern seems t
Hello,
Don't put the statement !Doctype in xml file. So while parsing it will not
look for dtd.
Hope this helps
Vanasri
- Original Message -
From: "Jason Rizer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 3:12 PM
Subject: How can I turn off use of DTD?
> Hell
Thanks very much for the prompt reply.
Your info is a big load off my mind. I
have some test cases, of course. But
not currently extensive enough to be
sure :(
Regards,
Calvin Loh
- Original Message -
From: "Jean-Claude Dufourd" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, A
calvin loh wrote:
> Urgently need this info - Does xerces 1.2.1 to
> xerces 1.2.3 use any jdk 1.3 features? Recently
> discovered that my deployment environment
> does not support jdk 1.3 :(
I am using 1.3.1 with Microsoft Java (somewhat equivalent to JDK1.1). No
problem!
JC
--
Jean-Claude Dufour
Hi,
Urgently need this info - Does xerces 1.2.1 to
xerces 1.2.3 use any jdk 1.3 features? Recently
discovered that my deployment environment
does not support jdk 1.3 :(
Thanks in advance.
Regards,
Calvin Loh
-
To unsubscribe,
I have a problem: I can't create attributes in Xerces: all things other
than attr are null. Any tip?
Thanks in advance,
Christian
-
attr0 (attr0="val0"): prefix(null) localName(null) nsURI(null) attr00
(attr0="val0"): prefix(null) localName(null) nsURI(null) attr1
[EMAIL PROTECTED] wrote:
> 1) how is xerces working with String input at all? Most of these documents
It has more to do with how Xerces reads from an InputStream vs.
a Reader. In the first case, the input stream is comprised of
bytes and Xerces will do the required thing about auto-detecting
the
21 matches
Mail list logo