RE: [xliff] matches as a module

From
Estreen, Fredrik <>
Date
2012-05-07T15:41:09+00:00
ID
Thread
RE: [xliff] matches as a module
Hi All,

I believe that the circular references are legal in XML Schema. To test this I built a small infinite recursion test where you can alternate between namespaces. I also included the "xml" namespace and lang attribute to make sure that can be used from both schemas and namespaces at the same time. You need to properly set up catalogs or have tools that have their own catalogs for this to work well.

I tested validation using xmllint and XML Validator Buddy and both worked and did proper validation in the nested namespaces.

Regards,
Fredrik Estreen

> -----Original Message-----
> From:  [mailto:] On Behalf
> Of Yves Savourel
> Sent: den 7 maj 2012 13:07
> To: 'Rodolfo M. Raya'; 
> Subject: RE: [xliff] matches as a module
> 
> Good morning Rodolfo,
> 
> > We use "xml:lang" and "xml:space" attributes
> > from the "namespace" schema in <source> and <target>.
> > These two elements  appear inside <match>.
> > We might be able to skip the import in the module
> > but not in the core schema (you commented it out
> > in the core schema too) because <source> and <target>
> > are defined there. I need to check further.
> 
> Correct: I commented out the wrong import. It should definitely be in core
> schema. But it doesn't need to be in matches.xsd (as <source> and <target>
> are not defined there, just referenced).
> 
> And as long as it's not in both it seems to work.
> 
> Cheers,
> -yves
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>