RE: Defining/Assigning meaning to tags !

2002-01-03 Thread Ravi_Jain
thankx :-)) Ravi Jain > -- > From: Dean Roddey[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: Friday, January 04, 2002 11:22 > To: [EMAIL PROTECTED] > Subject: Re: Defining/Assigning meaning to tags ! > > Just create tags in the form namespace:

Re: Defining/Assigning meaning to tags !

2002-01-03 Thread Dean Roddey
Just create tags in the form namespace:name. The part before the colon is the namespace name, and allows you to have tag names like "br" without them conflicting with other people's tags named "br", because yours would be named something like mystd:br. Read some books on XML and look into namespac

RE: Defining/Assigning meaning to tags !

2002-01-03 Thread Ravi_Jain
thanks Mr Dean for the info We are not actually in need for real standard Our requirement is to make some tags meaningful so that we can use them in our own setup . can u thro some more light on so as how to go about creating own namespace and writing the document to assign meaning to the tags ?

Re: Defining/Assigning meaning to tags !

2002-01-03 Thread Dean Roddey
Anyone can define their own XML tags, and define any standard functionality that they believe those tags should cause. The easiest way to do this is to put your own tags into a namespace of your own, like "mynamespace:mytag", where mynamespace is related to your company or the standard you want to

Defining/Assigning meaning to tags !

2002-01-03 Thread Ravi_Jain
Hi All I want to define(design) some tags for standardisation. for example as in case of HTML tags .."" is understood as break point etc.. can anyone let me know if similar functionality is possible with XML ...so that I can define my tags to understand what to do with its argument. Thanks in Adva

Re: Schema support in 1.6.0 (unique/key)

2002-01-03 Thread Joachim Achtzehnter
Hi Khaled, You wrote: > > Here is the fix: Thanks again! It now works (famous last words...). Joachim -- work: [EMAIL PROTECTED] (http://www.netacquire.com) private: [EMAIL PROTECTED] (http://www.kraut.ca) -

RE: Single threaded / multithreaded

2002-01-03 Thread SidY
Hi, I am using Xerces v1.6 quite successfully in multithreaded environment.. So that means they work in both. Sid -Original Message- From: Ashish Sharma [mailto:[EMAIL PROTECTED]] Sent: Friday, 4 January 2002 8:01 AM To: [EMAIL PROTECTED] Cc: Vincent Yang Subject: Single threaded / mu

RE: Parsing a non-stream input

2002-01-03 Thread Matthew James Hanson
I am definitely needing to write wrapper classes. What does honor the DOM API's mean? I kind of think this implies I don't necessarily just need to brute force a string out of the wrapper tree, but I'm exactly sure yet... Thanks for all the help! Matt Hanson! -Original Message- From:

RE: Parsing a non-stream input

2002-01-03 Thread Matthew James Hanson
Rather than have developers learn the string translation syntax of the various Xerces (and Xalan, for that matter) string classes, I have been asked to write a wrapper class using more familiar string and attribute list classes (i.e., std::string, std::list, etc.). Many of our external messaging

Re: Schema support in 1.6.0 (unique/key)

2002-01-03 Thread Khaled Noaman
:-( Here is the fix: Index: TraverseSchema.cpp === RCS file: /home/cvs/xml-xerces/c/src/validators/schema/TraverseSchema.cpp,v retrieving revision 1.73 diff -r1.73 TraverseSchema.cpp 3936c3936 < fBuffer.append(xpathExpr + st

Re: Single threaded / multithreaded

2002-01-03 Thread joseph_kesselman
>The libraries that come with the Xerces package >... are they single threaded or multithreaded ? But note that being compiled as multithreaded does not, by itself, mean all the functions are themselves thread-safe. I believe the DOM implementation, for example, allows multiple threads to be wor

Re: Schema support in 1.6.0 (unique/key)

2002-01-03 Thread Joachim Achtzehnter
Just a quick followup: I wrote: > > Below is an example that should fail the unique constraint because of the > duplicated "bar1" value, but Xerces 1.6.0 doesn't detect this violation. The schema I provided included a small typo. Replace by the intended: Note, the 3 was missing. Xerc

Re: Parsing a non-stream input

2002-01-03 Thread joseph_kesselman
>I need to parse an XML doc that is not a stream (file, buffer, etc.). >Technically, it is not yet an XML doc at all, but a wrapper class >representing an XML hierarchy. Either convert it to an XML-syntax stream or buffer and parse that, or directly implement your own set of wrapper classes that

RE: Single threaded / multithreaded

2002-01-03 Thread Murphy, James
Multithreaded Jim > -Original Message- > From: Ashish Sharma [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 03, 2002 5:01 PM > To: [EMAIL PROTECTED] > Cc: Vincent Yang > Subject: Single threaded / multithreaded > > > Hi, > > Just had a quick question. The libraries that come with

Single threaded / multithreaded

2002-01-03 Thread Ashish Sharma
Hi, Just had a quick question. The libraries that come with the Xerces package ... are they single threaded or multithreaded ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Schema support in 1.6.0 (unique/key)

2002-01-03 Thread Joachim Achtzehnter
Dec 6, I wrote: > > Hi Khaled, > > You wrote: > > > > The fix is in CVS. I have attached the diff for your reference. > > Thanks a bundle. This appears to work now. Will these two bug fixes make > it into the final 1.6.0 release? Let me take this back. :-) Union support in schema "unique" or "ke

Re: Parsing a non-stream input

2002-01-03 Thread david_n_bertoni
Parsing, by definition, takes a stream of markup and parses it. Since you have an XML hierarchy which is not a stream of markup, there is no need to parse it. Perhaps if you explain the problem you are trying to solve and the structure of your data, someone can help you out. Dave

Parsing a non-stream input

2002-01-03 Thread Matthew James Hanson
Hi! I need to parse an XML doc that is not a stream (file, buffer, etc.). Technically, it is not yet an XML doc at all, but a wrapper class representing an XML hierarchy. I don't think I am supposed to build a DOM tree, as no parse(...) method takes a DOM_Node as input. Please help me to determ

DO NOT REPLY [Bug 5675] - use of setExternalSchemaLocation() yields inconsistent behavior

2002-01-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 5675] - use of setExternalSchemaLocation() yields inconsistent behavior

2002-01-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 5675] New: - use of setExternalSchemaLocation() yields inconsistent behavior

2002-01-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: Declaring DOM_NamedNodeMap fails on Xerces 1.6

2002-01-03 Thread david_n_bertoni
You might try including the appropriate header file in your code: #include "dom/DOM_NamedNodeMap.hpp" Dave Henna Ilvonen

Re: Declaring DOM_NamedNodeMap fails on Xerces 1.6

2002-01-03 Thread joseph_kesselman
Not sure about the current C+ implementation, but in the older Java code the supplied implementation of NamedNodeMap was intended to be produced only by the Element.getAttributes() method rather than by users explicitly constructing it. That's not atypical for DOMs. If you really want to create o

Declaring DOM_NamedNodeMap fails on Xerces 1.6

2002-01-03 Thread Henna Ilvonen
Declaring a named node map causes error message "'class DOM_NamedNodeMap attributes' has initializer but incomplete type". I'm using version 1.6. on Linux and declaring named node map as in example program: DOM_NamedNodeMap attributes = node.getAttributes(); Is this some known bug or am I doing so

Making Xerces-C use a proxy server for access to schema definitions located on the internet

2002-01-03 Thread Ellis Birt
Our (WIN32) application uses Xerces-C to implement support for a file format that is defined in schemas located across the web servers of a number of organisations. While I could require users that need to use validation to download all the relevant xsd and dtd files and enter their locations as