Does anywhere doing caching for XPath?

2001-08-15 Thread Willy Ching
Hello ! I'm doing a xml doc retrieving system, just wonder why the second time I retrieve the same or similar document it seems faster by almost half. I'm using XPathAPI, Xerces and Xalan 2.2 D6. Is there doing some caching anywhere? -- best regards, Willy Ching Software Engineer Int'l T

Re: [GUMP] Build Failure - Xerces2

2001-08-15 Thread Andy Clark
Sam Ruby wrote: /home/rubys/jakarta/xml-xerces2/java/build/src/org/apache/xerces/dom/DocumentImpl.java:90: Class org.apache.xerces.utils.XMLCharacterProperties not found in import. > [javac] import org.apache.xerces.utils.XMLCharacterProperties; This should be able to be safely ignored. When

Re: FW: cannot access site

2001-08-15 Thread Andy Clark
"Pier P. Fumagalli" wrote: > From: "SONASETH,MURTAZA (Non-HP-Cupertino,ex1)" > I get "You don't have permission to access > /xerces2-j/javadocs/api/index.html on this server" > when I try to access the API docs at: > http://xml.apache.org/xerces2-j/javadocs/api/index.html D'oh. It's fixed now. So

Re: [Xerces2] Logo

2001-08-15 Thread Andy Clark
"Swanson, Brion" wrote: > Are you planning on posting them for us to see in case you > have a theme that you'd like to see in a logo? Perhaps > someone of an artistic nature could build off your ideas > if you don't think your drawings are good enough. I could setup a web page from my Apache web

Re: help on implementing pull in X2 [was Re: [Xerces2] Pull Parsing]

2001-08-15 Thread Andy Clark
Aleksander Slominski wrote: > could somebody point me out where in documentation or source code to look for > how to implement pull parser configuration. i would like to play with it to see > how incremental parsing is happening (and how it fits into pipeline) - for > example how next event is obt

Re: [Xerces2] Pull Parsing

2001-08-15 Thread Andy Clark
Ted Leung wrote: > As I said, I can live with this, but it does seem unclean, > because the pull parser API shouldn't be exposed in the > Configuration. I'm still thinking that the parser configuration should have the methods (just like the document and DTD scanner interfaces have this abilit

Re: creating an null DOCTYPE in Xerces2

2001-08-15 Thread Tom Bradford
"Swanson, Brion" wrote: > Doesn't that go against the DOM spec to create a Document with no document > element? Not really. What if you need to create a Document with a document element that's namespaced? In that case, in order to actually define the namespace, you'd have to provide supporting

FW: cannot access site

2001-08-15 Thread Pier P. Fumagalli
-- Forwarded Message From: "SONASETH,MURTAZA (Non-HP-Cupertino,ex1)" <[EMAIL PROTECTED]> Date: Wed, 15 Aug 2001 17:20:59 -0700 To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: cannot access site Hi, I get "You don't have permission to access /xerces2-j/javadocs/api/index.html on this

Re: creating an null DOCTYPE in Xerces2

2001-08-15 Thread Edwin Goei
"Swanson, Brion" wrote: > > Doesn't that go against the DOM spec to create a Document with no document > element? Could be. IIRC I don't think DOM L1 had a method for creating a Document object. Then JAXP 1.0 added a way to do this. Then DOM L2 came out and provided a somewhat incompatible wa

help on implementing pull in X2 [was Re: [Xerces2] Pull Parsing]

2001-08-15 Thread Aleksander Slominski
Ted Leung wrote: > Well, let's talk about this how this would work -- You'd have > to return an object that that had say: > > public interface PullParserAPI { > public void setInputSource (InputSource); > public boolean parseDocument(boolean); > } > > That way you'd define parser configur

Re: [Xerces2] Pull Parsing

2001-08-15 Thread Aleksander Slominski
Ted Leung wrote: > I don't think that XMLPullParserEvent is much use unless it contains data > that > the application can use. The object creation I was concerned about was > creating > objects to be returned from next(). so what you have in mind is to have XmlStartTag, XmlEndTag and XmlContent

[DO NOT REPLY: Bug 3134] -

2001-08-15 Thread bugzilla
Problem in the way validator resolves location of imported schema PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST

[DO NOT REPLY: Bug 3134] New: -

2001-08-15 Thread bugzilla
Problem in the way validator resolves location of imported schema PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST

Re: [Xerces2] Pull Parsing

2001-08-15 Thread Ted Leung
- Original Message - From: "Aleksander Slominski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 1:04 AM Subject: Re: [Xerces2] Pull Parsing > Ted Leung wrote: > > > I think that we have slightly different design centers for the API.

RE: creating an null DOCTYPE in Xerces2

2001-08-15 Thread Swanson, Brion
Doesn't that go against the DOM spec to create a Document with no document element? Brion -Original Message- From: Edwin Goei [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 2:01 PM To: [EMAIL PROTECTED] Subject: Re: creating an null DOCTYPE in Xerces2 Not in the version of

Re: creating an null DOCTYPE in Xerces2

2001-08-15 Thread Edwin Goei
"Swanson, Brion" wrote: > > The problem with DocumentBuilderFactory.newDocument() is that it just spits > out a new document with a default root element name (as far as I can tell). > I have a root element name I want to use, but I don't want the document > associated with any doctype (as it is u

Re: [Xerces2] Pull Parsing

2001-08-15 Thread Ted Leung
- Original Message - From: "Andy Clark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 1:19 AM Subject: Re: [Xerces2] Pull Parsing > Ted Leung wrote: > > This would be fine by me, because it would solve my problem. But here's > > my concern. Does it make

RE: question about compositor support

2001-08-15 Thread Pankaj Jain
Henry, That makes sense. I modified the schema and took down the number of elements under "all" to about 5 and there was no problem. Previously, there were about 30 elements. Hence, what you're saying seems consistent with what I saw. Thanks Pankaj -Original Message- From: [EMAIL PROTE

extensions

2001-08-15 Thread Samina Islam
Hi everyone! (sorry if you get this twice...) I'm converting an xml document to a prism document using a stylesheet. One of the elements in the XML document is date, which is given in "MM DD ..." format (example: "Jul 10 1999 9:10AM"). I want the date to be formated w/ the year first (e

schemaLocation

2001-08-15 Thread Maik Weber
Hello, can somebody tell me where you can use the attributes "schemaLocation" and "noNamespaceSchemaLocation"? Do you only can use it in the rootelement or also anywhere in the document? I have already look for this in the w3c-definitions, but didn't find anything. thx maik --

Re: question about compositor support

2001-08-15 Thread zongaro
Hi Pankaj,      There was a bug in the processing of "all" that caused Xerces-J to use on the order of 2^n bytes of storage, where n is the number of children in the "all".  Because of this bug, the JVM tended to run out of memory when an "all" had twenty or so children.  Does your "all" fit tha

question about compositor support

2001-08-15 Thread Pankaj Jain
Please forgive my ignorance but I'm veyr new to Schemas and Xerces. Currently, is there support for the "all" compositor in xerces-j 1.42? I have been trying to validate an XML Schema instance document and I keep receiving the following error when running sax.SAX2Count, sax.SAXCount, and dom.DOMC

[GUMP] Build Failure - Xerces2

2001-08-15 Thread Sam Ruby
This email is autogenerated from the output from: Buildfile: build.xml init: [echo] Xerces-J 2.0.0 (

RE: creating an null DOCTYPE in Xerces2

2001-08-15 Thread Swanson, Brion
The problem with DocumentBuilderFactory.newDocument() is that it just spits out a new document with a default root element name (as far as I can tell). I have a root element name I want to use, but I don't want the document associated with any doctype (as it is unused anyway and adding one would o

Re: [Xerces2] STATUS, ISSUES, and TODO

2001-08-15 Thread Gopal Sharma
Andy wrote:- >You should be able to do an "update -d v1" now on the impl directory to get the >files that I was working on porting from Xerces 1.x. To keep things simple, I > kept the files in the "xerces_j_2" branch. Thx Andy, Just now, I did the update. If you think, there is any info to

RE: [Xerces2] Logo

2001-08-15 Thread Franck_Schmidlin
I'm trying to persuade a mate of mine to have a go. He is semi-professional, and probably happy for the publicity. More once I've convinced him. "Swanson, Brion" <[EMAIL PROTECTED]> on 15/08/2001 14:01:15 Please respond to [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> c

Re: [Xerces-2]: re:schema parsing design

2001-08-15 Thread sandygao
Hi. > Would you tell me whether you are planning to use (1) the current > content model or (2) the current state in the current content model? > This distinction is important for me. > > My guess is that you have to use the current state, because sometimes > the content model by itself is not eno

RE: [Xerces2] Logo

2001-08-15 Thread Swanson, Brion
Are you planning on posting them for us to see in case you have a theme that you'd like to see in a logo? Perhaps someone of an artistic nature could build off your ideas if you don't think your drawings are good enough. Brion Swanson ---

DTDs as objects?

2001-08-15 Thread Markus Dahm
Hi, I'm wondering whether there's any API for Xerces that allows to access DTD contents as objects/nodes. I.e., all element and attribute definitions with their models (or grammars, if you like), not just as strings, but as fully-fledged objects. I found just two standalone-tools not integrated

Schema Validation Error reporting

2001-08-15 Thread Martin . Thompson
Hi All, We are using Xerces 1.4.2 and validating our documents against schemas. When an error is found a very terse message is returned without context. See example below.

[Xerces2] Logo

2001-08-15 Thread Andy Clark
You may remember back when I was updating the documentation that I said I would like to create a whole new look for the Xerces2 docs so that it completely stands out as a new beast. As part of that new look, I'd like to have a Xerces2 logo. Are there any lurking graphic people out there that wou

Re: [Xerces2] Pull Parsing

2001-08-15 Thread Andy Clark
Ted Leung wrote: > This would be fine by me, because it would solve my problem. But here's > my concern. Does it make sense to surface all of these kinds of details up > through XNI? Or does it make sense to solve this some other way, like via > an object returned as a property You may be righ

Re: [Xerces2] Pull Parsing

2001-08-15 Thread Aleksander Slominski
Ted Leung wrote: > I think that we have slightly different design centers for the API. From > reading > your pages and your comments, It seems to me that you are focused on > small jar size and minimum API. Is this accurate? hi, actual simplicity was primary design goal - small size is no lon

Re: [Xerces2] STATUS, ISSUES, and TODO

2001-08-15 Thread Andy Clark
Gopal Sharma wrote: > Can you do it, Andy ? Sorry 'bout the immense delay. You should be able to do an "update -d v1" now on the impl directory to get the files that I was working on porting from Xerces 1.x. To keep things simple, I kept the files in the "xerces_j_2" branch. -- Andy Clark * IB