Next in thread →
Next in month →
RE: [xliff] FWD: XLIFF 1.2 Schema(s) xpath expression issue
Tony, The spaces around the ‘|’ have been removed in the attached schema. Regards, Doug Domeny Software Analyst Ektron, Inc. +1 603 594-0249 x212 http://www.ektron.com From: Tony Jewtushenko [mailto:] Sent: Wednesday, May 10, 2006 12:01 AM To: ; Cc: ; Subject: [xliff] FWD: XLIFF 1.2 Schema(s) xpath expression issue Hi Bryan and Doug: As the editors of the XLIFF XSD's, could you guys please have a look at this email from Asgeir and figure out if we need to revise the XSD or otherwise address the issue? Input from the TC is encouraged. It seems clear cut but I didn't want to introduce any problems by editing without consulting your expertise. Doug's been the most recent schema editor, so we should maintain continuity at this stage of the game unless he's unavailable. Many thanks to Asgeir for his input... Thanks, Tony -----Original Message----- From: Asgeir Frimannsson [mailto:] Sent: 09 May 2006 21:22 To: Tony Jewtushenko Subject: XLIFF 1.2 Schema(s) xpath expression issue Hi Tony, A small issue in the XLIFF 1.2 schema that causes some issues when validating the schema itself: (Starting from line 2030 in strict, 2051 in transitional) <xsd:keyref name="KR_tu_segsrc_mid" refer="xlf:U_tu_segsrc_mid"> <xsd:selector xpath="./xlf:target/xlf:mrk | ./xlf:alt-trans"/> <xsd:field xpath="@mid"/> </xsd:keyref> The regular expression for the xpath attribute is according to the XML Schema xsd: (\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*(\|(\.//)?(((child::)?((\i\c*:)?(\i\c*|\*)))|\.)(/(((child::)?((\i\c*:)?(\i\c*|\*)))|\.))*)* It seems that unlike other xpath expressions, the spec does not allow spaces between operators like '|'. Hence, the above xpath expression should have the spaces between '|' removed (as it is in all other occurrences in the XLIFF schema). cheers, asgeir xliff-core-1.2-strict-20060418.xsd
Next in thread →
Next in month →