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

 


Help: OASIS Mailing Lists Help | MarkMail Help

xliff-comment message

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


Subject: RE: [xliff-comment] xliff-1-1.xsd has invalid attributesminOccurs,maxOccurs in <xs:choice>


Tony,

I would like to be more formally involved. I don't consider myself an XML
Schema expert, however, I am currently actively using (and enhancing) the
XLIFF schema 1.1.

Ektron builds a browser plugin that is an XHTML/XML editor for business
users. I'm currently developing a web application with XLIFF for our
customers and for our own internal use. I'm particularly interested in
mixing XHTML within an XLIFF document. I'm also working on embedding
XLIFF-like tags into an XHTML skeleton (template) file so that the XLIFF
document can be automatically generated from the XHTML file. The HTML output
is generated by merging the skeleton file with the XLIFF document.

What do I need to do to participate more formally?

Regards,

Doug D

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


-----Original Message-----
From: Tony Jewtushenko [mailto:Tony.Jewtushenko@oracle.com]
Sent: Monday, September 30, 2002 9:18 AM
To: doug@ektron.com
Subject: Re: [xliff-comment] xliff-1-1.xsd has invalid attributes
minOccurs,maxOccurs in <xs:choice>


Hi Doug:

Thanks for the input  - it's very helpful.  We'll add this to the list of
issues
to review for the 1.1 spec.

Do you have any interest in participating more formally in the TC?   We're
somewhat light on Schema expertise,  so your input would be very much
appreciated.

Regards,
Tony



Doug wrote:

> The xliff-1-1.xsd XML schema assigns minOccurs and maxOccurs to the
<choice>
> element, but they are not allowed in that context.
>
> XPath: xliff-1-1.xsd#/schema[1]/group[position() = 1 and @name =
> 'ElemGroup_TextContent']/choice[1]
>
> Snippet:
>         <!-- Groups -->
>         <xsd:group name="ElemGroup_TextContent">
>                 <xsd:choice minOccurs="0" maxOccurs="unbounded">
>
> Those attributes need to be specified everywhere that
ElemGroup_TextContent
> is referenced.
>
> Example:        <xsd:group ref="xlf:ElemGroup_TextContent" minOccurs="0"
> maxOccurs="unbounded"/>
>
> Reference:
> O'Reilly's "XML Schema", "xs:choice (within a group)", p. 250
>
> Error seen with Microsoft's XSD 4.0 parser, but not XML Spy 4.4.
>
> Regards,
>
> Doug D
>
> Ektron, Inc.
> +1 603 594-0249
> http://www.ektron.com
>
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>

--
Tony Jewtushenko    mailto:tony.jewtushenko@oracle.com
Sr. Tools Program Manager   direct tel: +353.1.8039080
Product Management - Tools Technology Team
Oracle Corporation, Ireland




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


Powered by eList eXpress LLC