Re: Detecting xsd:any

2008-12-08 Thread Michael Glavassevich
Hi Eric, The validator knows that it matched a wildcard. There's no spot in the PSVI for reporting it, so I suppose in that sense it's lost. Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Eric Lilja <[EMAIL PROTECTED]> wro

Re: Detecting xsd:any

2008-12-08 Thread Eric Lilja
Hello Mr Glavassevich and thanks for your reply. So basically what you're saying is that it is not possible, while parsing the schema, to be informated that (for example): "this complex element has these simple elements as child elements, it also has an xsd:any"? The information that there's an

Re: Detecting xsd:any

2008-12-02 Thread Michael Glavassevich
Hi Eric, You're basically looking for which particle matched each element in the instance. This information is not available in the PSVI and not readily available from Xerces. Someone else asked a related question [1] a few years back. Might not be too difficult to handle yourself if you know tha

Detecting xsd:any

2008-12-02 Thread Eric Lilja
Hello, I'm parsing schemas (by getting an XSModel and then getting the top element and going from there) and what the program basically does is creating a relational model of the schema. Complex element become tables and their children that are attributes or simple elements that can occur at mo