Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Integrating XHTML modules into a markup language

From: "tom tom" <tomxsllist@-------.--->
To: ht@---.--.--.--
Date: 12/5/2006 11:30:00 AM
>The modular schemas are mostly not independently usable.

Presumably, then, if I want to manipulate XHTML to our needs, such as 
restricting the use of some XHTML elements, I will have to use appropriate 
xsd elements in our schema, such as xs:redefine?


>From: ht@i... (Henry S. Thompson)
>To: "tom tom" <tomxsllist@h...>
>CC: xml-dev@l...
>Subject: Re: [xml-dev] Integrating XHTML modules into a markup language
>Date: Mon, 04 Dec 2006 15:29:26 +0000
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>tom tom writes:
>
> > I wish to utilize some XHTML modules in a schema I am developing. If,
> > for example I wish to include the Block structural module - which if I
> > understand correctly is called xhtml-blkstruct-1.xsd - where should I
> > be referencing this from?
> >
> > One of the places I have tried it from here:
> > http://www.w3.org/MarkUp/SCHEMA/xhtml-blkstruct-1.xsd and I get a
> > 'missing Common.attrib attribute group' error. Before I go about
> > trying to debug this I feel I am going about this in the wrong way?
>
>The modular schemas are mostly not independently usable.  The module
>you're looking at, for <div> and <p>, not surprisingly refers to
>element and attribute declarations in many other 'lower level'
>modules.  The complete list appears to me to be:
>
>  xhtml-attribs-1.xsd
>  xhtml-bdo-1.xsd
>  xhtml-csismap-1.xsd
>  xhtml-datatypes-1.xsd
>  xhtml-edit-1.xsd
>  xhtml-form-1.xsd
>  xhtml-hypertext-1.xsd
>  xhtml-image-1.xsd
>  xhtml-inlstyle-1.xsd
>  xhtml-link-1.xsd
>  xhtml-list-1.xsd
>  xhtml-meta-1.xsd
>  xhtml-object-1.xsd
>  xhtml-pres-1.xsd
>  xhtml-ruby-1.xsd
>  xhtml-script-1.xsd
>  xhtml-style-1.xsd
>  xhtml-table-1.xsd
>  xhtml-text-1.xsd
>  xhtml11-model-1.xsd
>
>However, it is not in general safe to just xs:include all of those --
>the xhtml11.xsd top-level driver gets all but xhtml11-model-1.xsd via
>xhtml11-modules-1.xsd, which in turn _xs:redefines_ rather than
>xs:includes some of the above, namely
>
>  xhtml-csismap-1.xsd
>  xhtml-form-1.xsd
>  xhtml-hypertext-1.xsd
>  xhtml-image-1.xsd
>  xhtml-object-1.xsd
>
>So you're really better off just xs:including the top-level driver and
>getting everything, i.e. xhtml11.xsd itself.
>
>ht
>- --
>  Henry S. Thompson, HCRC Language Technology Group, University of 
>Edinburgh
>                      Half-time member of W3C Team
>     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
>             Fax: (44) 131 650-4587, e-mail: ht@i...
>                    URL: http://www.ltg.ed.ac.uk/~ht/
>[mail really from me _always_ has this .sig -- mail without it is forged 
>spam]
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.6 (GNU/Linux)
>
>iD8DBQFFdD7WkjnJixAXWBoRAld1AJ45ricfH83OzO3aE/XHodXTIkczyQCeJ/Gc
>C3psSS5+fmm5OUnWpXdSieY=
>=pQca
>-----END PGP SIGNATURE-----
>
>_______________________________________________________________________
>
>XML-DEV is a publicly archived, unmoderated list hosted by OASIS
>to support XML implementation and development. To minimize
>spam in the archives, you must subscribe before posting.
>
>[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>Or unsubscribe: xml-dev-unsubscribe@l...
>subscribe: xml-dev-subscribe@l...
>List archive: http://lists.xml.org/archives/xml-dev/
>List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>

_________________________________________________________________
It's Hotmail's 10th Birthday! Come and play Pass the Parcel 
http://www.msnpasstheparcel.com


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent