Re: support annotation operation

2003-07-24 Thread Neil Graham
Hi Stephen, Complete annotation support was just added recently, well after 2.4.0 came out. Would be great if you can build from CVS source and try it out; would be nice to ferret out any bugs before the next release. If you prefer to wait, though, the next release is scheduled for the end of ne

support annotation operation

2003-07-24 Thread Lingzhi Zhang
Hi, all I am wondering how much support of operation on annotation in the latest release of Xerces2.4.0. It seems to me that Xerces haven't provided much method for get and set annotation in schema. I also checked some of the source code in the Xerces implementation, the getAnnotation only return

Re: examining XML schema attributes

2003-07-24 Thread Sandy Gao
Mark, a few minor points. > Once you get the type declaration from the attribute, cast > it to XSSimpleTypeDecl XSSimpleTypeDefinition is preferred over XSSimpleTypeDecl. The former is considered part of the schema component API, while the latter is an internal class that implements the former.

Re: examining XML schema attributes

2003-07-24 Thread Mark Brucks
Martin: Given that I am in the middle of doing this as well, I believe I have the answer. Once you get the type declaration from the attribute, cast it to XSSimpleTypeDecl and then use the getLexicalEnumeration method. This returns a StringList containing the enumerated values for the type (th

Re: Doubts & concerns

2003-07-24 Thread Joseph Kesselman
>Aren't the telecom companies sponsoring the development of Apache software Would that they were. __ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten b

Re: Empty Text nodes in DOM structure

2003-07-24 Thread Bob Foster
> How can I specify this (element content only - no text nodes)? Don't specify mixed in your complexType. If you are asking, "Can I prohibit whitespace between elements?", I believe the answer is no. Bob - To unsubscribe, e-ma

Re: Doubts & concerns

2003-07-24 Thread message message
That is a good answer. With regard to being free. Aren't the telecom companies sponsoring the development of Apache software to encourage us all to use more bandwidth, or make it easier to use Bandwidth. Therefore free doesn't mean volunteery contribution. From: Joseph Kesselman <[EMAIL PROTECTE

examining XML schema attributes

2003-07-24 Thread Martin Lambert
Hi, I am trying to examine schema attribute definintions using Xerces. I am able to retrieve information about attributes that includes an attribute name, its type name and whether it is required. However I want to retrieve more detailed information about the attribute's type. For example, giv

Re: Doubts & concerns

2003-07-24 Thread Joseph Kesselman
Reminder: Xerces, like the rest of Apache, is open source software. If you have complaints about code quality, you are more than welcome to get involved in helping to improve it. Or you can go with a purchased copy rather than a free copy; generally, the largest advantage of doing so is that yo

Re: Problem with validating xml file with an xml schema

2003-07-24 Thread Maksym Kovalenko
To revalidate whole document you have to use Document.normalizeDocument() but in order to do so, you have to rebuild xerces with target jars-dom3 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Empty Text nodes in DOM structure

2003-07-24 Thread Ron Rothblum
How can I specify this (element content only - no text nodes)? Ron Rothblum Active Technologies Department IBM Haifa Research Labs Phone: +972 4 829-6459 |-+> | | Simon Kitching | | | <[EMAIL PROTECTED]| | |

Re: Problem with validating xml file with an xml schema

2003-07-24 Thread Ron Rothblum
Did you set the validation feature of the parser? Ron Rothblum Active Technologies Department IBM Haifa Research Labs Phone: +972 4 829-6459 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Problem with validating xml file with an xml schema

2003-07-24 Thread Martin Grüneberg
Hello xml freaks, I think it is an often asked question, but i can't find a working example in the archive. ok, here we go... I have a xml file and a xml-schema file looking like this: xml: http://www.test.de/db"; xsi:schemaLocation="http://www.test.de/db ./dba_default_mapping.xsd" xmlns:xsi="ht

RE: Parsing DTDs and converting from DTD to XML schema

2003-07-24 Thread Bart Read
Title: Message I know about it but it’s no good I’m afraid.  We actually need to integrate this functionality into our server-side systems.  Never mind. Many thanks, Bart     -Original Message- From: Singh, Anoop [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 7:52

Why that doesn't work with last version...?

2003-07-24 Thread Francois . Banel
Return Receipt Your Why that doesn't work with last version...? document :

Why that doesn't work with last version...?

2003-07-24 Thread Nicolas Médoc
Return Receipt Your Why that doesn't work with last version...? document :

Re: some character entities are now '?'

2003-07-24 Thread Elizabeth Barham
Elliotte writes: > Then you shouldn't be using an XML parser. XML operates on > characters, not bytes. An XML parser *always* turns the bytes into > characters before passing them to the client application. See > http://www.cafeconleche.org/books/effectivexml/chapters/15.html for > more discussion

Re: some character entities are now '?'

2003-07-24 Thread Elliotte Rusty Harold
I must admit I am not too well versed on the intricacies of character encodings. My goal was (and is) simply to have the actual byte of data itself without it being processed in any sort of way. Then you shouldn't be using an XML parser. XML operates on characters, not bytes. An XML parser *alwa

Re: some character entities are now '?'

2003-07-24 Thread Elizabeth Barham
Elliotte writes: > http://developer.java.sun.com/developer/bugParade/bugs/4646959.html > Youch. What nasty bug. And contrary to Sun's claims this is a bug in > Java 1.4. If I'm reading this right, any XML parser using > InputStreamReader to translate UTF-8 into Java strings and chars is > likely

Doubts & concerns

2003-07-24 Thread message message
My only interest is to use application development tools for Application development. It is really frustration and time wasting to find bugs or reading about bugs. How come there are so many bugs in everything so much so that it is an accepted fact of life ? I have to say it is a real confidence