RE: caching of grammars that include other grammars

2002-07-03 Thread Aleksandar Milanovic
Neil, It seems that my other problems disppeared after taking in your bug fixes. Thx a bunch. Alex > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 03, 2002 12:17 PM > To: [EMAIL PROTECTED] > Subject: Re: caching of grammars that include ot

RE: grammar cache -> necessitates existence of top-level schema for a namespace

2002-07-03 Thread Aleksandar Milanovic
Thx for your prompt reply. I may try to do something like defining my own grammar pool. I have two additional questions: 1. Will it be possible to remove grammars from the pool? 2. To preparse grammars one has to supply an InputStream or a Reader that in most cases provide the schema text from a

Re: grammar cache -> necessitates existence of top-level schema for a namespace

2002-07-03 Thread neilg
Hi Alex, Glad to hear the grammar caching code is working for you--it's all pretty new, so I'm betting there's still a bug or two lurking around in it... As background, the reason Xerces assumes it will only have to contend with one grammar from a given namespace is that it makes our implementati

grammar cache -> necessitates existence of top-level schema for a namespace

2002-07-03 Thread Aleksandar Milanovic
Hi All,   Suppose we have a namespace defined in multiple schemas and data that needs to be validated is defined in more than one of the schemas. Neither schemaLocation attributes nor Xerces grammar cache handle this case. In the schemaLocation attribute, only the first location for a partic

validate a xml against dtd

2002-07-03 Thread arek
Hi, I'm new to xml and cannot find answer to my problem (archive is not available) I receive and send xml data and I'd like to validate xml data (could be a file) against dtd file. There is no doctype declaration and it couldn't be added Is is possible ? I didn't find any example What is faster s

RE: caching of grammars that include other grammars

2002-07-03 Thread Aleksandar Milanovic
Hi, I am actually in Canada too, in "sunny" Vancouver :). I will redo my tests and let you know if the other problems persist. Muchas gracias, Alex > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 03, 2002 12:17 PM > To: [EMAIL PROTECTED] >

Re: caching of grammars that include other grammars

2002-07-03 Thread neilg
Hi Torsten and Alek, You're not being ignored--it was a long weekend up here in Canada, so I haven't been on line to see these messages. Now I'm here, so I'll try and answer: The first problem you found--where an included schema would be flagged as being in error for having a non-identical names

RE: Error While validating against Schema

2002-07-03 Thread Aleksandar Milanovic
Where does that URI appear? It looks more like a namespace URI than a physical location. Alex -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Wednesday, July 03, 2002 2:50 AMTo: [EMAIL PROTECTED]Subject: Error While validating against Schema

Re: XML-Parsing and examples

2002-07-03 Thread Vincent Wolowski
Thanks! Vincent Vincent Wolowski schrieb: > Elena Litani schrieb: > > > Vincent Wolowski wrote: > > > Where can I find some examples/tutorials for parsing xml with xerces? > > > > Read the docs: > > http://xml.apache.org/xerces2-j/samples.html > > -- > > Elena Litani / IBM Toronto > > > > ---

Re: XML-Parsing and examples

2002-07-03 Thread Vincent Wolowski
Elena Litani schrieb: > Vincent Wolowski wrote: > > Where can I find some examples/tutorials for parsing xml with xerces? > > Read the docs: > http://xml.apache.org/xerces2-j/samples.html > -- > Elena Litani / IBM Toronto > > -

Re: XML-Parsing and examples

2002-07-03 Thread Elena Litani
Vincent Wolowski wrote: > Where can I find some examples/tutorials for parsing xml with xerces? Read the docs: http://xml.apache.org/xerces2-j/samples.html -- Elena Litani / IBM Toronto - To unsubscribe, e-mail: [EMAIL PROTEC

Re: Bugzilla: Cannot report bugs for 2.0.2

2002-07-03 Thread Elena Litani
Thomas Börkel wrote: > In Bugzilla, I can only report bugs for Xerces up to 2.0.1. Thanks for reporting. Fixed now. -- Elena Litani / IBM Toronto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: Schema validation internals

2002-07-03 Thread sandygao
Hi Kristian, PSVI (Post Schema Validation Infoset) is the outcome of schema assessment of an instance document (or part of it). It includes information like whether an element/attribute is valid, which declaration/type was used to validate such element/attribute, the normalized value of an element

Re: Schema validation internals

2002-07-03 Thread Kristian Halm
Hi sorry for intervening in this thread but I got a question concerning the PSVI you mentioned. They are stored in SchemaGrammar objects, like all other schema components. If you have user-defined simple types in your schema document, and parse such document (either parse it directly using Xerces

XML-Parsing and examples

2002-07-03 Thread Vincent Wolowski
Hi all, I am new to XML. Where can I find some examples/tutorials for parsing xml with xerces? Thanks for any help! Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Error While validating against Schema

2002-07-03 Thread [EMAIL PROTECTED]
Hi, I am getting the following Error, When I am validating My XML  . General Schema Error: Grammar with uri : http://www.imsglobal.org/xsd/imsmd_rootv1p2p1 , can not found.   But the same XML is valid when I validate using XML SPY Can Any on

Re: TXElement & TXDocument equivalent in xerces.jar

2002-07-03 Thread Mary H. Maslowski
inline... - Original Message - From: "Andy Clark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 01, 2002 11:54 PM Subject: Re: TXElement & TXDocument equivalent in xerces.jar > Mary H. Maslowski wrote: > >in XML4J right now, I use the DTD *class* to get the > >DTD struct