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] | [Elist Home]


Subject: [xliff] Current XLIFF schema


Is the latest revision of the XLIFF schema available?

I would like to compare it with the one I am currently using. I made a
couple small changes/fixes before I joined OASIS and the XLIFF TC.

Of particular interest is extensibility of the TextContent to allow
non-XLIFF tags, for example XHTML tags. I'm working on an application that
includes XHTML tags, (like P, H1, TABLE), in the content. This is not to say
that every application would need to support XHTML, only that an application
could. Some tags, like A (hyperlink) and IMG, are converted to XLIFF G
(placeholder) tags so that the translator is not exposed to URLs.

EXAMPLE
:
<xlf:source>
	<p>Enter the body text of your <xlf:g ctype="link"
id="IDA4A4R">XHTML</xlf:g> document here</p>
	<xlf:g ctype="image" id="IDAFB4R"/>
	<p>second Enter the <xlf:g ctype="link" id="IDAOB4R">body</xlf:g> text of
your XHTML document here</p>
</xlf:source>
:

RECOMMENDATION

Add '<xsd:any namespace="##other" processContents="strict" minOccurs="0"/>',
as shown below, if it is not already present.

	<xsd:group name="ElemGroup_TextContent">
		<xsd:choice>
			<xsd:element name="g" type="xlf:ElemType_g"/>
			<xsd:element name="bpt" type="xlf:ElemType_bpt"/>
			<xsd:element name="ept" type="xlf:ElemType_ept"/>
			<xsd:element name="ph" type="xlf:ElemType_ph"/>
			<xsd:element name="it" type="xlf:ElemType_it"/>
			<xsd:element name="mrk" type="xlf:ElemType_mrk"/>
			<xsd:element name="x" type="xlf:ElemType_x"/>
			<xsd:element name="bx" type="xlf:ElemType_bx"/>
			<xsd:element name="ex" type="xlf:ElemType_ex"/>
			<xsd:any namespace="##other" processContents="strict" minOccurs="0"/>
		</xsd:choice>
	</xsd:group>

Many other tags are extensible, why not TextContent?

Regards,

Doug D

Ektron, Inc.
+1 603 594-0249
http://www.ektron.com



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


Powered by eList eXpress LLC