← Prev in month ← Prev in thread
Next in thread → Next in month →

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

From
Doug <>
Date
2002-10-03T18:06:09+00:00
ID
Thread
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:]
Sent: Monday, September 30, 2002 9:18 AM
To: 
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:
Sr. Tools Program Manager   direct tel: +353.1.8039080
Product Management - Tools Technology Team
Oracle Corporation, Ireland
← Prev in month ← Prev in thread
Next in thread → Next in month →