OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [xliff] Change to xliff schema for optional context-group name


Thanks to Doug and Magnus for discovering and fixing the bug.

Bryan


-----Original Message-----
From: Magnus Martikainen [mailto:MMartikainen@sdl.com]
Sent: Wed 3/21/2007 7:06 AM
To: Doug Domeny; Schnabel, Bryan S; xliff@lists.oasis-open.org
Subject: RE: [xliff] Change to xliff schema for optional context-group name
 
Hi Doug and Bryan,

 

I can confirm that the updated schema solves the validation problem we
had.

 

Thanks!

Magnus

 

________________________________

From: Doug Domeny [mailto:ddomeny@ektron.com] 
Sent: Wednesday, March 21, 2007 4:51 AM
To: bryan.s.schnabel@exgate.tek.com; xliff@lists.oasis-open.org
Subject: RE: [xliff] Change to xliff schema for optional context-group
name

 

Bryan,

 

Attached are the two samples. Each has two context-group tags. Both had
a name attribute, now only one does.

 

Regards,

Doug Domeny
ektron, inc.
http://www.ektron.com 

________________________________

From: bryan.s.schnabel@exgate.tek.com
[mailto:bryan.s.schnabel@exgate.tek.com] 
Sent: Tuesday, March 20, 2007 2:26 PM
To: ddomeny@ektron.com; xliff@lists.oasis-open.org
Subject: RE: [xliff] Change to xliff schema for optional context-group
name

 

Thanks for fixing this so quickly Doug.  Would it be difficult for you
to edit one of our sample documents (like
Sample_AlmostEverything_1.2_transitional.xlf or
Sample_AlmostEverything_1.2_strict.xlf) to illustrate the problem with
the previous XSDs?

 

Thanks,

 

Bryan

 

	-----Original Message-----
	From: Doug Domeny [mailto:ddomeny@ektron.com] 
	Sent: Tuesday, March 20, 2007 10:00 AM
	To: xliff@lists.oasis-open.org
	Subject: [xliff] Change to xliff schema for optional
context-group name

	All,

	 

	The xsd:key tag requires that the identifier by defined (in this
case, the 'name' attribute of the context-group). The xsd:unique tag is
the same as xsd:key, except that the identifier may be undefined. I
checked the other xsd:key elements in the schema and each of those
identifiers are required and therefore xsd:key is appropriate.

	 

	The corrected schemas are attached.

	 

	Changed

	 

	    <xsd:key name="K_context-group_name">

	      <xsd:selector xpath=".//xlf:context-group"/>

	      <xsd:field xpath="@name"/>

	</xsd:key>

	 

	To

	 

	    <xsd:unique name="U_context-group_name">

	      <xsd:selector xpath=".//xlf:context-group"/>

	      <xsd:field xpath="@name"/>

	    </xsd:unique>

	 

	Regards,

	Doug Domeny
	ektron, inc.
	http://www.ektron.com 

	 

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This email message has been scanned by IronPort at SDL plc for the presence of computer viruses.
**********************************************************************



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]