Oshani,
The fragid testcase that you reported as failing with XmlSchema 1.1,
testSchemaId1G, only fails with the DOM implementation. This testcase
passes with the Woden OM implementation.

The difference seems to be in the reader's parseSchemaInline method. In
DOMWSDLReader, the <xs:schema> DOM Element is passed directly to an
XmlSchemaCollection.read method and an XmlSchemaException is thrown due to
the fragid problem.  In OMWSDLReader, the <xs:schema> OMElement is
converted by OMUtils to an org.xml.sax.InputSource which is then passed to
an XmlSchemaCollection.read method and it returns without any exception.

Do you know if OMUtils does something to resolve the fragid on the schema
import before XmlSchema is invoked?  It seems either that the InputSource
passed to XmlSchema no longer contains the fragid or that XmlSchema somehow
resolves a fragid found in an InputSource but not one found in an Element.

John Kaputin



                                                                           
             Arthur Ryman                                                  
             <[EMAIL PROTECTED]                                             
             >                                                          To 
                                       [email protected]             
             21/09/2006 16:45                                           cc 
                                       [EMAIL PROTECTED],                
                                       [email protected]             
             Please respond to                                     Subject 
             [EMAIL PROTECTED]         Re: Woden Release                   
                  he.org                                                   
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





Jeremy,

I did open it against Xerces a long time ago but they said it was working
as designed and gave me a way to implement the function, which I add to the
WODEN JIRA[1]

[1] http://issues.apache.org/jira/browse/XERCESJ-1100

Arthur Ryman,
IBM Software Group, Rational Division

blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: [EMAIL PROTECTED]

                                                                           
 "Jeremy Hughes" <[EMAIL PROTECTED]>                                      
 Sent by: [EMAIL PROTECTED]                                              
                                                                        To 
                                                      [EMAIL PROTECTED] 
 09/21/2006 10:52 AM                                  org                  
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
          [email protected]                     Re: Woden Release    
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





Hi Arthur, it's just a bit disconcerting that this test passed against
XmlSchema 1.0.3 and doesn't against XmlSchema 1.1. I think 1.0.3 was
just ignoring the import. This meant the DescriptionElement was
successfully created - and then our test passes because we're not
testing whether everything is correct within the Description. So now
it looks like XmlSchema is failing so this shows a test failure.

Surely WODEN-10 is an XmlSchema problem and should be opened on their JIRA?

Cheers,
Jeremy

On 9/20/06, Arthur Ryman <[EMAIL PROTECTED]> wrote:
> Oshani,
>
> I believe that failure is normal since we don't yet support using
> fragids as schemaLocation uri's. See [1]. Would you like to fix this?
>
> http://issues.apache.org/jira/browse/WODEN-10
>
> On 9/20/06, Oshani Seneviratne <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Thanks a lot for the update.
> >
> > I tried to build Woden with XmlSchema1.1 and it was all okay. But when
> > I run the tests, I have one failed test case from the W3CTestSuiteTest
> >  (testSchemaId1G). Anybody else experienced that?
> >
> > Oshani.
> >
> > On 9/20/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > We released both XmlSchema and Axiom, this week. I hope this cleared
all
> > > the obstacles you had to go for Woden M6. Woden M6 will remove one
more
> > > obstacle for Axis2 1.1 release.
> > >
> > > Please use Axiom 1.1.1 and XmlSchema 1.1.
> > >
> > > Thanks,
> > > Chinthaka
> > >
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to