Xerces-J compilation error

2008-07-18 Thread Mukul Gandhi
- Regards, Mukul Gandhi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Xerces-J compilation error

2008-07-19 Thread Mukul Gandhi
reful when compiling that these interfaces in > the JDK don't get pulled into the build. > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] > > "Mukul Gandhi" <[

Re: Xerces-J compilation error

2008-07-19 Thread Mukul Gandhi
less of which JDK you're using. Have you tried them? > > Thanks. > > [1] http://svn.apache.org/viewvc/xerces/java/trunk/ > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [

Re: Xerces-J compilation error

2008-07-20 Thread Mukul Gandhi
have gathered something useful. On 7/21/08, Michael Glavassevich <[EMAIL PROTECTED]> wrote: > > > Hi Mukul, > > "Mukul Gandhi" <[EMAIL PROTECTED]> wrote on 07/20/2008 01:59:09 AM: > > > > > I am looking forward to understand the Xerces source

Re: Xerces-J compilation error

2008-07-20 Thread Mukul Gandhi
ation, I get a message, svn: Repository moved temporarily to '/viewvc/xerces/java/branches/xml-schema-1.1-dev/'; please relocate Is below the correct location to work on latest XML Schema 1.1 code ? https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/ --

Re: Xerces-J compilation error

2008-07-20 Thread Mukul Gandhi
chael Glavassevich <[EMAIL PROTECTED]> wrote: > > > Hi Mukul, > > "Mukul Gandhi" <[EMAIL PROTECTED]> wrote on 07/20/2008 11:42:43 PM: > > > Hi Michael, > >I am facing some problem checking out XML Schema 1.1 code from the > > locatio

Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-22 Thread Mukul Gandhi
wrote: > > > Hi Mukul, > > "Mukul Gandhi" <[EMAIL PROTECTED]> wrote on 07/20/2008 01:59:09 AM: > > > > > I am looking forward to understand the Xerces source code in coming > > few days, and would try to write something for Xerces. Would share my > &g

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-22 Thread Mukul Gandhi
https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/ > [3] > https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/ > > Michael Glavassevich > XML Parser Development > IBM Toronto

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-22 Thread Mukul Gandhi
pport in type alternatives. We can reuse/refactor your XPath 2.0 code, for use it in assertions. I would presently not work on XPath 2.0 part in assertions, and would work on other parts as Michael pointed. I would look forward to the XPath 2.0 code fr

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-26 Thread Mukul Gandhi
/repos/asf/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/impl/xs/traversers/ > [3] > https://svn.apache.org/repos/asf/xerces/java/branches/xml-schema-1.1-dev/src/org/apache/xerces/xs/ > > Michael Glavassevich > XML Parser Develop

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-26 Thread Mukul Gandhi
e past > few hours for this, but not been able to find the solution. > > Can somebody please help, so I could proceed further with implementation. > > I am really hoping I can complete assertions support (without, XPath > processing for now) quite soon. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-26 Thread Mukul Gandhi
. -- Regards, Mukul Gandhi http://www.w3.org/2001/XMLSchema-instance";> Mukul Gandhi 1992-01-02 abc pqr 1992-01-02 IR abc http://www.w3.org/2001/X

Assertions on simple types (was Re: Xerces assertions support )

2008-07-27 Thread Mukul Gandhi
Hi team, In the XML Schema 1.1 spec, at http://www.w3.org/TR/xmlschema11-1/ (W3C Working Draft 20 June 2008), it's mentioned 2.2.4.3 Assertion Assertions are currently only allowed to be specified in complex types. It may be deemed useful also to include assertions in named model group definiti

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-27 Thread Mukul Gandhi
waiting for comments from the Xerces team. I would also appreciate, if you could please reply to my questions in other threads as well. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-28 Thread Mukul Gandhi
AIL PROTECTED]> wrote: > > Hi Mukul, > > Thanks for your efforts. > > I would be happy to review your work. Would you please open a bugzilla bug > and attach your code as a zip file? > > Regards, > Khaled -- Regards, Mukul Gandhi

Re: Assertions on simple types (was Re: Xerces assertions support )

2008-07-28 Thread Mukul Gandhi
XML Parser Development > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] -- Regards, Mukul Gandhi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Clarification needed regarding facets

2008-07-29 Thread Mukul Gandhi
in my code. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Clarification needed regarding facets

2008-07-29 Thread Mukul Gandhi
L Schema WG. > > Thanks. > > [1] http://www.w3.org/TR/xmlschema11-2/#xr-assertions > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: [EMAIL PROTECTED] > E-mail: [EMAIL PROTECTED] -- Regards, Mukul Gandhi --

Re: Clarification needed regarding facets

2008-07-29 Thread Mukul Gandhi
ions in the same restriction element). > > > Khaled -- Regards, Mukul Gandhi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-30 Thread Mukul Gandhi
being absent in the facets, in Complex Types with Simple Contents? I can do this quickly. You could review the modified code. Meanwhile, I am also working on assert support on Simple Types. On 7/29/08, Mukul Gandhi <[EMAIL PROTECTED]> wrote: > Hi Khaled, > Thanks for your response. >

Re: Xerces assertions support (was Re: Xerces-J compilation error)

2008-07-30 Thread Mukul Gandhi
w the updated patch. Hoping to get your feedback asap ... On 7/30/08, Mukul Gandhi <[EMAIL PROTECTED]> wrote: > Hi Khaled, > I saw yesterday, that Sandy Gao raised an issue with XML Schema WG, > where he recommended that 'assert' facet in Complex Types with Simple >

[XML Schema 1.1] is it advisable to develop assertions support for complex types, now

2008-08-14 Thread Mukul Gandhi
should not implement assertions for complex types. Otherwise, later quote a bit of code rewriting might be required. I would appreciate your opinion on this issue. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: [EMAIL PROT

Re: [jira] Updated: (XERCESJ-1324) XML Schema 1.1 assertions support

2008-09-09 Thread Mukul Gandhi
se/XERCESJ-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > ] > > Khaled Noaman updated XERCESJ-1324: > --- > > > I have commited your patch with a small change. I omitted some unused data > members, mainly the fAssertions array since it was never u

defining an element with XML Schema (Xerces)

2008-12-16 Thread Mukul Gandhi
Schema, and Xerces? I am fine with using XML Schema 1.1, if it offers any extra features. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: defining an element with XML Schema (Xerces)

2008-12-16 Thread Mukul Gandhi
gt; > Like this: > > > > > > > > > > > > > > > > > > Regards, > John -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: [jira] Commented: (XERCESJ-1351) Type alternatives implementation seems to be broken

2008-12-16 Thread Mukul Gandhi
file: http://www.w3.org/2001/XMLSchema-instance";> Mukul Gandhi 1999-06-02 ddd aaa aaa Schema: http://www.w3.org/2001/X

Re: [jira] Commented: (XERCESJ-1351) Type alternatives implementation seems to be broken

2008-12-17 Thread Mukul Gandhi
XML Schema I am trying: XML file: http://www.w3.org/2001/XMLSchema-instance";> Mukul Gandhi 1999-06-02 ddd aaa aaa XML Schema file: http://www.w3.org/2001/X

Re: [jira] Commented: (XERCESJ-1351) Type alternatives implementation seems to be broken

2008-12-17 Thread Mukul Gandhi
On Wed, Dec 17, 2008 at 10:20 PM, Mukul Gandhi wrote: > 2) Even without specifying version="1.1" in the Schema, type > alternatives are recognized I think this is because, we specified following in the file, XMLSchema11Test.java System.setProperty("javax.xml.validati

Re: [jira] Commented: (XERCESJ-1351) Type alternatives implementation seems to be broken

2008-12-18 Thread Mukul Gandhi
r according to my observations the type > alternatives implementation assign the correct address type to the ADDRESS > element. I'll continue to test this scenario further. > > Thanks > > Best Regards, > Hiranya -- Regards, Mukul Gandhi

Re: SchemaFactory and XML Schema 1.1 (was: [jira] Commented: (XERCESJ-1351) Type alternatives implementation seems to be broken)

2008-12-18 Thread Mukul Gandhi
tails on this are > on the Wiki [1]. > > Thanks. > > [1] http://wiki.apache.org/xerces/Xerces-J:_XML_Schema_1.1_Design_Thoughts > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ib

Re: [jira] Resolved: (XERCESJ-1351) Type alternatives implementation seems to be broken

2009-03-25 Thread Mukul Gandhi
based on the value of > "fSchemaVersion". I guess this might have been added while you were debugging > but we should be determining this based on the schema version. -- Regards, Mukul Gandhi - To unsubscribe

Re: [jira] Resolved: (XERCESJ-1351) Type alternatives implementation seems to be broken

2009-03-26 Thread Mukul Gandhi
XPath 2.0 parser / evaluator > [2] which was recently donated to Eclipse [3]. I think we may be able to use > it for supporting assertions. I understand that it is schema-aware and is > apparently able to work with Xerces' XSModel. -- Regards, Mukul Gandhi --

Re: [jira] Resolved: (XERCESJ-1351) Type alternatives implementation seems to be broken

2009-03-26 Thread Mukul Gandhi
Thanks, Hiranya. Hoping for sure for further interaction with you and other Xerces members. On Thu, Mar 26, 2009 at 5:39 PM, Hiranya Jayathilaka wrote: > Hi Mukul, > > I agree with your observations. Please see my comments in-line. > > On Thu, Mar 26, 2009 at 12:17 PM, Mukul

assertions implementation progress

2009-04-09 Thread Mukul Gandhi
ext nodes to the assertions XML tree. // some stuff here } This is just a very high level design. The actual details in the final code may take a different shape. I'm hoping to have an initial complete assertions implementation quite soon. Please watch

assertions implementation progress

2009-04-09 Thread Mukul Gandhi
  // some stuff here  } This is just a very high level design. The actual details in the final code may take a different shape. I'm hoping to have an initial complete assertions implementation quite soon. Please watch

unable to generate user friendly error messages, for assertions evaluations

2009-04-11 Thread Mukul Gandhi
r.validate(Unknown Source) at XMLSchema11Test.main(XMLSchema11Test.java:15) In this particular case, the following assert declaration in the Schema, fails: . And it should indeed fail. But I want to display an user friendly error messag

Re: unable to generate user friendly error messages, for assertions evaluations

2009-04-11 Thread Mukul Gandhi
n > (file name, line/column numbers) which would be useful for the application > to determine where the error occurred. > > Thanks. > > [1] > http://xerces.apache.org/xerces2-j/javadocs/api/javax/xml/validation/Validator.html#setErrorHandler(org.xml.sax.ErrorHandler) > > Michael Glav

Re: assertions implementation progress

2009-04-12 Thread Mukul Gandhi
idea. I'll try to implement it. It might require some thinking, and we might do this in a future iteration. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Type aware XPath 2.0 processing with assertions

2009-04-16 Thread Mukul Gandhi
sn't support Xerces PSVI model. Could somebody please share an implementation strategy to implement type awareness for XPath 2.0 processing in assertions. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr.

Re: Type aware XPath 2.0 processing with assertions

2009-04-18 Thread Mukul Gandhi
Saxon basic" you're working with the open source version: > Saxon-B. Yes.. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: [VOTE RESULTS]: Nomination of Mukul Gandhi for Committer Status

2009-05-04 Thread Mukul Gandhi
oted +1, so I'd therefore like to welcome > Mukul as the newest Xerces-J committer. > > Congratulations Mukul! Thanks for all you've done so far. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab &

Re: [VOTE]: Nomination of Mukul Gandhi for Committer Status

2009-05-05 Thread Mukul Gandhi
ard to work with you and other members of the team. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: [VOTE]: Nomination of Mukul Gandhi for Committer Status

2009-05-05 Thread Mukul Gandhi
M Canada > Editor, W3C XML Schema WG > Member, W3C SML WG > (1-905) 413-3255 T/L 313-3255 -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: Xerces on Java 5

2009-05-06 Thread Mukul Gandhi
n the mailing list a several >> > > months back and we did receive some encouraging comments from the >> > > communit too [1]. But the things have gone pretty quiet ever since. >> > > >> > > Thanks, >> > > -- >> > > Hiranya Jayathilaka >> > > E-mail: hira...@apache.org;  Mobile: +94 77 633 3491 >> > > Blog: http://techfeast-hiranya.blogspot.com >> > > >> > > [1] - http://xerces-j-dev.markmail.org/message/2lw4gnijzmno5e4l >> > >> > -- >> > Hiranya Jayathilaka >> > E-mail: hira...@apache.org;  Mobile: +94 77 633 3491 >> > Blog: http://techfeast-hiranya.blogspot.com >> >> Thanks. >> >> Michael Glavassevich >> XML Parser Development >> IBM Toronto Lab >> E-mail: mrgla...@ca.ibm.com >> E-mail: mrgla...@apache.org > > > -- > Hiranya Jayathilaka > Software Engineer; > WSO2 Inc.;  http://wso2.org > E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: Xerces on Java 5

2009-05-08 Thread Mukul Gandhi
x27;t support JDK 1.6 to 1.4/1.3 conversion. We need to use JDK 1.5. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: Xerces on Java 5

2009-05-08 Thread Mukul Gandhi
ll JDKs from 1.3 upto 1.6. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: Xerces on Java 5

2009-05-08 Thread Mukul Gandhi
y() vs. String.length() == 0). > > So I think we should wait until think we have a case for using newer APIs > and then evaluate at that point, rather than jumping to a later release on a > branch without a particular reason for doing so. > Thanks. > > Michael Glav

populating an XSModel from Xerces augmentations

2009-05-12 Thread Mukul Gandhi
nt. Would the above code result in a full Schema tree inside, xsmodel? Or, would xsmodel contain only the first level element declaration (and no sibling Schema information)? If, xsmodel would not contain the full Schema tree, how do I construct it given an Augmentations object? -- R

Re: populating an XSModel from Xerces augmentations

2009-05-12 Thread Mukul Gandhi
Thanks. > > [1] > http://xerces.apache.org/xerces2-j/javadocs/xs/org/apache/xerces/xs/ElementPSVI.html#getSchemaInformation() > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Reg

constructing XSModelImpl from javax.xml.validation.Schema

2009-05-14 Thread Mukul Gandhi
bject? For this need, we could provide an additional constructor to the user, XSModelImpl(Schema schema). Is the implementation of this requirement, feasible within Xerces? And will this facility, provide additional value to the users? -- Regards, Mukul G

Re: constructing XSModelImpl from javax.xml.validation.Schema

2009-05-15 Thread Mukul Gandhi
rammars = ( XSGrammar[] ) grammars; // get a ClassCastException here XSModel xsmodel = xsGrammars[0].toXSModel(xsGrammars); // end code How do I I convert Grammar to XSGrammar? -- Regards, Mukul Gandhi - To unsubscribe, e-mail:

Re: constructing XSModelImpl from javax.xml.validation.Schema

2009-05-15 Thread Mukul Gandhi
sGrammars, 0, grammars.length); > > and then things should work fine from there. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: constructing XSModelImpl from javax.xml.validation.Schema

2009-05-16 Thread Mukul Gandhi
orrect? The whole of idea above, relies on adding a new method, getSchemaGrammars() in XSModelImpl.java. On Fri, May 15, 2009 at 6:52 PM, Mukul Gandhi wrote: > Hi Michael, >   Thanks for reply. This works fine, and is really nice. > > I have another question. > >

Re: constructing XSModelImpl from javax.xml.validation.Schema

2009-05-18 Thread Mukul Gandhi
for something else? Saxon perhaps? > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

importNode on PSVIDocumentImpl (copying PSVI as well)

2009-05-18 Thread Mukul Gandhi
tempt this? Or does something already exists in Xerces for this? -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: importNode on PSVIDocumentImpl (copying PSVI as well)

2009-05-18 Thread Mukul Gandhi
here a specific reason that you think you need to do this? > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi

Xerces assertions, a schema aware XPath example

2009-05-19 Thread Mukul Gandhi
Hi all, Just thought of sharing this example. Following is a simple example which could be used to test schema aware XPath capabilities, related to the following patch: https://issues.apache.org/jira/browse/XERCESJ-1365 XML file: Mukul Gandhi 2006-10-10 XERCES100 XSD file: http

XML Schema 1.1 assertions with psychopath, update

2009-05-26 Thread Mukul Gandhi
think, this improves a lot the XPath 2.0 evaluation support for Xerces-J assertions. FYI, please.. PS: You can wait for all these improvements to ship with Eclipse WTP 3.2 M1 (sometime in July-Aug 09' I believe), or can ask me to post the latest psychopath jar any time earlier. -- Regards,

SchemaGrammar.addGlobalTypeDecl gives NPE for anonymous types

2009-05-30 Thread Mukul Gandhi
es it affect other places of Xerces code? I have following questions: 1) Am I building the SchemaGrammar correctly? If not, what's the correct way? 2) If yes, then how do I avoid NPE in this case? -- Regards, Mukul Gandhi - To un

Re: SchemaGrammar.addGlobalTypeDecl gives NPE for anonymous types

2009-05-30 Thread Mukul Gandhi
On Sat, May 30, 2009 at 4:36 PM, Mukul Gandhi wrote: > 1. I cannot do, > schemaGrammar.addGlobalTypeDecl(elementPSVI.getTypeDefinition()); > if the type is an anonymous type. > > It seem, *I need to do this* to have a fully populated schema. It seems I have found the workaround

Re: SchemaGrammar.addGlobalTypeDecl gives NPE for anonymous types

2009-05-31 Thread Mukul Gandhi
anonymous schemaGrammar.addGlobalNotationDecl (.. Do you think, these three calls are enough to complete create the grammar for an element? Or do we need to set some other things as well, on schemaGrammar? On Sun, May 31, 2009 at 1:11 AM, Michael Glavassevich wrote: > Hi Mukul, > > Mukul

Re: XML Schema Validation with Xerces2

2009-06-11 Thread Mukul Gandhi
t; schema documents to be validated? > > Thanks, > Hiranya > > -- > Hiranya Jayathilaka > Software Engineer; > WSO2 Inc.;  http://wso2.org > E-mail: hira...@wso2.com;  Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com -- Regards, Mukul Gandhi ---

Re: XML Schema Validation with Xerces2

2009-06-11 Thread Mukul Gandhi
e Schema loader, to report the errors. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: XML Schema Validation with Xerces2

2009-06-11 Thread Mukul Gandhi
teresting work. I'll look at Sandy's work to learn more about this facility. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: XML Schema Validation with Xerces2

2009-06-11 Thread Mukul Gandhi
ntation("XS-Loader"); > XSLoader xsLoader = xsImpl.createXSLoader(null); > > DOMConfiguration config = xsLoader.getConfig(); > config.setParameter("error-handler", myErrorHandler); // <-- set the error > handler -- Regards, Mukul Gandhi -

Re: Quality evaluation - survey

2009-06-11 Thread Mukul Gandhi
t have high cyclomatic number because requirements makes us write a complex code. I believe, an usual measure to tackle high complexity is adequate testing. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xer

Re: Quality evaluation - survey

2009-06-11 Thread Mukul Gandhi
and > the fact that the library already does what most users need, rather than > code quality. In any case, I'll see how the GSoC participants perform and > how easy they'll find adding code to xerces. > > I'll go back

Re: Quality evaluation - survey

2009-06-11 Thread Mukul Gandhi
ht. > In 'Object-Oriented Metrics in Practice' by M.Lanza and R. Marinescu, the > authors use the average line complexity (Complexity/Size) which is an > alternative complexity measurement. I was not aware of this technique. Will try to get this book, and read about it.

Re: XML Schema Validation with Xerces2

2009-06-11 Thread Mukul Gandhi
also validates imported schemas as well. Infact, the 'loadURI' method I mentioned, builds XSModel from the Grammar object (it does something like, ((XSGrammar) fSchemaLoader.loadGrammar(new XMLInputSource(null, uri, null))).toXSModel(). -- Regards, Mukul Gandhi

Re: XML Schema Validation with Xerces2

2009-06-12 Thread Mukul Gandhi
= sf.newSchema(new StreamSource(schemapath)); The 'newSchema' call would not succeed if XML Schema has an error. The XSModel or the Grammar technique you wrote, is a low level API which is normally used within Xerces. On Fri, Jun 12, 2009 at 11:49 AM, Mukul Gandhi wrote: >> By going th

Re: XML Schema Validation with Xerces2

2009-06-12 Thread Mukul Gandhi
nd would work in environments where > Xerces isn't available. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi -

JRE 1.4 compatible psychopath JAR

2009-06-16 Thread Mukul Gandhi
E 1.4 Sun JRE 1.5 The latest psychopath library should be working with JRE 1.3 as well, as I produced the JAR with JRE 1.3 compatibility on. It should likely also work on JRE 1.6. The user feedback to this PsychoPath version would be welcome. -- Regards, Mukul G

PsychoPath usage within Xerces-J, which JRE version?

2009-06-18 Thread Mukul Gandhi
PsychoPath team. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: PsychoPath usage within Xerces-J, which JRE version?

2009-06-19 Thread Mukul Gandhi
w.sun.com/software/javaseforbusiness/support.jsp > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

XML Schema 1.1 xs:override implementation

2009-06-23 Thread Mukul Gandhi
ranya), or can I go alone on this? -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: XML Schema 1.1 xs:override implementation

2009-06-23 Thread Mukul Gandhi
a and the base schema (as for the xs:redefine construct). I think, these are the two important aspects, that we need to take care for xs:override. On Tue, Jun 23, 2009 at 12:54 PM, Mukul Gandhi wrote: > Hi all, >   I believe, Xerces still doesn't have an implementation of XML >

Re: XML Schema 1.1 xs:override implementation

2009-06-24 Thread Mukul Gandhi
Hi Hiranya and all, On Tue, Jun 23, 2009 at 12:54 PM, Mukul Gandhi wrote: > I am keen to have this implemented in Xerces-J. I remember, Hiranya > did some work on xs:override implementation. Since Hiranya wrote the original code for xs:override for Xerces-J, I feel, Hiranya has ownership o

Re: XML Schema 1.1 xs:override implementation

2009-06-25 Thread Mukul Gandhi
quirements you had mentioned in > your previous mail? Your feedback will help us identify the shortcomings of > that initial work. Sure, I would do that and would share my findings to the list. I guess, you need to revisit the logic again on the patch, and see what needs to be done going

[XML Schema 1.1] bug with type alternative implementation?

2009-07-05 Thread Mukul Gandhi
example, Xerces reports the XML document as valid. Shouldn't the validation fail in this case (since value 'abc' is not an integer)? Would this be a bug, that needs to be fixed? -- Regards, Mukul Gandhi - To uns

xml schema 1.1 assertions, and psychopath, status

2009-07-18 Thread Mukul Gandhi
too. Any suggestions, on the current state of affairs would be great. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

IBM ICU for PsychoPath and xerces-j

2009-07-24 Thread Mukul Gandhi
n ICU or a narrow portion of it for some of the functionality? I need to convey the xerces project's opinion about this, to PsychoPath team. I would appreciate if we could have a quick discussion on this. -- Regards, Mukul Gandhi -

Re: IBM ICU for PsychoPath and xerces-j

2009-07-28 Thread Mukul Gandhi
evelopment > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: IBM ICU for PsychoPath and xerces-j

2009-07-28 Thread Mukul Gandhi
versions of Java. > > regards, > Richard -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

XML Schema 1.1 inheritable attributes, implementation

2009-07-30 Thread Mukul Gandhi
gards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: XML Schema 1.1 inheritable attributes, implementation

2009-07-31 Thread Mukul Gandhi
..@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: New Xerces Chair

2009-08-18 Thread Mukul Gandhi
reth > > -- > Gareth Reakes, CTO         WE7 - Great Music, Free > +44-20-7117-0809        http://www.we7.com -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.

New PsychoPath release

2009-08-22 Thread Mukul Gandhi
more information, http://intellectualcramps.blogspot.com/2009/08/psychopath-11m1-available.html. Xerces-J users, wishing to use the latest PsychoPath library, for XML Schema 1.1 assertions processing, can download the new version from Eclipse WTP site. -- Regards, Mukul Gandhi

inheritable attributes patch, question

2009-08-24 Thread Mukul Gandhi
mentDepth). Is Integer.valueOf(""+fElementDepth) better, or new Integer(.. is better? Through, JRE 1.5 and above has an API, Integer.valueOf(int). But we can't use, this API as we need to conform to JRE 1.3. -- Regards, Mukul Gandhi --

Re: inheritable attributes patch, question

2009-08-24 Thread Mukul Gandhi
41 > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

can we provide full XPath 2.0 language, for type alternatives

2009-09-03 Thread Mukul Gandhi
r idea that comes to my mind is, to provide a configurable option to users, to either use the minimal subset (which is the current implementation), or use full XPath 2.0 support, with PsychoPath. -- Regards, Mukul Gandhi - To un

Re: can we provide full XPath 2.0 language, for type alternatives

2009-09-03 Thread Mukul Gandhi
On Thu, Sep 3, 2009 at 6:23 PM, Mukul Gandhi wrote: > Another idea that comes to my mind is, to provide a configurable > option to users, to either use the minimal subset (which is the > current implementation), or use full XPath 2.0 support, with > PsychoPath. Apart from the points

Re: can we provide full XPath 2.0 language, for type alternatives

2009-09-07 Thread Mukul Gandhi
it seems, Xerces folks are busy :) I couldn't get a response to this question, since 4 days now (with a 2 day weekend in between) :) I am hoping, a yes or no to this idea. A no would be ok, with justifications, please. On Thu, Sep 3, 2009 at 9:04 PM, Mukul Gandhi wrote: > Apart from th

Re: can we provide full XPath 2.0 language, for type alternatives

2009-09-08 Thread Mukul Gandhi
o Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: can we provide full XPath 2.0 language, for type alternatives

2009-09-09 Thread Mukul Gandhi
> positions along the way which is expensive). > > You could open a JIRA issue for tracking but suggest that we revisit later. > > Thanks. > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla.

Re: can we provide full XPath 2.0 language, for type alternatives

2009-09-10 Thread Mukul Gandhi
to write this piece of integration :) Any further suggestions, please? -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: can we provide full XPath 2.0 language, for type alternatives

2009-09-12 Thread Mukul Gandhi
go right ahead. :-) Thanks. I'll begin implementation, for this soon after inheritable attribute changes get committed. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For add

Re: can we provide full XPath 2.0 language, for type alternatives

2009-09-14 Thread Mukul Gandhi
Hi all, On Sat, Sep 12, 2009 at 1:57 PM, Mukul Gandhi wrote: >> If you're up for it go right ahead. :-) > > Thanks. I'll begin implementation, for this soon after inheritable > attribute changes get committed. I have completed an implementation for this. After sta

xpathDefaultNamespace implementation on xs:assert, with psychopath

2009-09-19 Thread Mukul Gandhi
l write the agreed upon code to interface with PsychoPath, as mentioned in this mail, with necessary communication to PsychoPath team as well. -- Regards, Mukul Gandhi - To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org

Re: xpathDefaultNamespace implementation on xs:assert, with psychopath

2009-09-19 Thread Mukul Gandhi
On Sat, Sep 19, 2009 at 2:31 PM, Mukul Gandhi wrote: > To be able to implement "xpathDefaultNamespace" attribute for > xs:assert, I propose to have a provision in Xerces-J, to allow users > to set say a system property, psychopath.optimize=true which will > allow u

Re: xpathDefaultNamespace implementation on xs:assert, with psychopath

2009-09-19 Thread Mukul Gandhi
art of the next Eclipse WTP release, as well). On Sat, Sep 19, 2009 at 2:31 PM, Mukul Gandhi wrote: > Hi all, >   We use PsychoPath XPath 2.0 engine, for XML Schema 1.1 assertions > in Xerces-J. > > On xs:assert element, there is an attribute "xpathDefaultNamespace", >

  1   2   3   4   5   6   7   8   9   10   >