Hi Mukul,

I took a look at your change. I noticed you were creating a new attribute 
declaration every time an xsi attribute is referenced and setting the 
enclosing parent property (attribute declarations with a global scope have 
no parent). In SchemaGrammar class, we already have a static grammar 
instance (1.0) representing the xsi namespace (containing declarations for 
the 4 known xsi attributes), so we could use a similar mechanism and have 
it work the same way built-in types are referenced. I have made the 
necessary changes and checked in the code.

Regards,
Khaled





From:
Mukul Gandhi <[email protected]>
To:
[email protected]
Date:
01/14/2011 01:42 AM
Subject:
Re: XML Schema 1.1 test suite example, specifying constraints on 
xsi:noNamespaceSchemaLocation



Hi Sandy & all,
   I implemented this change and committed the modifications to Xerces
SVN (the svn commit: r1058860).

You and other committers might review this addition to Xerces
code-base, and suggest improvements if any.

On Tue, Jan 11, 2011 at 7:56 PM, Sandy Gao <[email protected]> wrote:
> Schema 1.1 fixed this problem, by allowing not only references to "xs"
> types, but also "xsi" attributes. And not only built-in components, but 
any
> components in those namespaces. So Xerces needs to be updated 
accordingly.


>
> Thanks,
> Sandy Gao
> XML Technologies, IBM Canada
> Editor, W3C XML Schema WG
> (1-905) 413-3255 T/L 313-3255
> [email protected]




-- 
Regards,
Mukul Gandhi

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Reply via email to