- From: Philip <Philip.Oduffy@ul.ie>
- Date: Fri, 26 Apr 2013 17:47:02 +0100
- To: public-multilingualweb-lt@w3.org
- Message-ID: <517AAF86.1000107@ul.ie>
Hey Guys,
Current list of issues:
-LanguageInformation
I'm having problems with nodes not inheriting rules:
LanguageInformation1.xml output:
/text
/text/head[1]
/text/head[1]/its:rules[1]
/text/head[1]/its:rules[1]/@version
/text/head[1]/its:rules[1]/its:langRule[1]
/text/head[1]/its:rules[1]/its:langRule[1]/@langPointer
/text/head[1]/its:rules[1]/its:langRule[1]/@selector
/text/content[1] lang="en"
/text/content[1]/@language lang="en"
/text/content[1]/par[1]
/text/content[1]/par[1]/q[1] lang="fr-CA"
/text/content[1]/par[1]/q[1]/@language lang="fr-CA"
/text/content[1]/par[2]
/text/content[1]/par[2]/q[1] lang="la"
/text/content[1]/par[2]/q[1]/@language lang="la"
Hey Guys,
Expected Output:
/text
/text/head[1]
/text/head[1]/its:rules[1]
/text/head[1]/its:rules[1]/@version
/text/head[1]/its:rules[1]/its:langRule[1]
/text/head[1]/its:rules[1]/its:langRule[1]/@langPointer
/text/head[1]/its:rules[1]/its:langRule[1]/@selector
/text/content[1] lang="en"
/text/content[1]/@language lang="en"
/text/content[1]/par[1] *lang="en" *
/text/content[1]/par[1]/q[1] lang="fr-CA"
/text/content[1]/par[1]/q[1]/@language lang="fr-CA"
/text/content[1]/par[2] *lang="en" *
/text/content[1]/par[2]/q[1] lang="la"
/text/content[1]/par[2]/q[1]/@language lang="la"
The par elements doesn't seem to be applying the inheritance properly,
but we have set inheritance to elementsAndAttributes:
<datacat name="languageinformation">
<inheritance appliesTo="elementsAndAttributes"/>
<rulesElement name="langRule"/>
</datacat>
IdValue
In IDValue it seems the XSLT is eliminating the nodes <text>, <pos> and
<trig> in IdValue3.
- XSLT eliminates nodes <text>, <pos> and <trig> in IdValue3.
I'm also having issues with targetPointer and provenance, but I should
be able to sort them out myself shortly.
Any help is much appreciate!
Thanks,
Philip
Received on Friday, 26 April 2013 16:47:25 UTC