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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Word 2003 custom schema limitations

[ Lists Home | Date Index | Thread Index ]

I have seen this problem before in Word during beta testing.  I can't
recall what caused the problem.

I have worked with several organizations who are using Word as an
XML editor.  The schema's have recursion in many places, sections,
lists, etc and Word doesn't have a problem.

It is difficult to use Word as a validating editor because it doesn't
control the insertion of elements like a true XML validating editor.
It does show the elements in context but shows all the elements available.
In order to use it successfully the editors will need a great deal of
training in the XML schema structure and how Word behaves.

Also, the raw XML is unstyled.  One way around the unstructured look in
Word is to use XSLT to include WordML into the structure on opening a
document and XSLT to remove the WordML on saving the document.  This
causes some overhead and integration issues but makes authors/editors
unfamiliar with XML more comfortable working in the environment.

Good luck!

Betty


> Hi Jeff,
>
> Yes, there is a lot of recursion (in sections, lists, etc.).   I am just
> surprised that no one has run into this before.  Maybe no one is using
> Word to edit XML using custom schemas.
>
> Nadia
>
>
>
>
> Jeff Greif <jeff.greif@gmail.com>
> 2006-05-17 11:50
> Please respond to jgreif
>
>
>         To:     Nadia.Swaby@pwc.ca, "xml-dev@lists.xml.org"
> <xml-dev@lists.xml.org>
>         cc:
>         Subject:        Re: [xml-dev] Word 2003 custom schema limitations
>
>
> Possibly some content model is recursive (e.g. block elements in HTML).
>
> Jeff
>
> Nadia.Swaby@pwc.ca wrote:
>> Hi David,
>>
>> I did some grouping so that some of the elements  (i.e. links, footnotes
>> and the like) are no longer global.
>>
>> Maybe that's what the problem is.  I will have to do some testing to
> find
>> out.
>>
>> Nadia
>>
>>
>>
>>
>> David Carlisle <davidc@nag.co.uk>
>> 2006-05-17 09:58
>>
>>
>>         To:     Nadia.Swaby@pwc.ca
>>         cc:     xml-dev@lists.xml.org
>>         Subject:        Re: [xml-dev] Word 2003 custom schema
> limitations
>>
>>
>>
>>
>>>  So, I got our custom DTD converted to a schema
>>> ..
>>> The XML schema cannot be used because it has more than 256 levels of
>>> hierarchy.
>>>
>>
>> Given that all element declarations in a DTD are global, how did the
>> conversion end up with (presumably) 256 levels of element tyope
>> declaration? I don't know anything about Word's restrictions, but
>> couldn't you have a simpler schema?
>>
>> David
>>
>
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS