Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Q: attribute default name space

From: cmsmcq@---.--- (-. -. ----------------)
To: NULL
Date: 5/31/2004 11:48:00 AM
yf110@v... (Malcolm Dew-Jones) writes:

> The parser shows that mytag is in "my/default/name/space", and
> 
> 	`mine:attr1'   is in "my/default/name/space"
> 	`theirs:attr1' is in "Some/one/elses/name/space".
> 	`attr1'        is not in a name space
> 
> 
> Is there a "correct" way to interpret this?  

If by 'interpret' you mean 'associate each attribute with
a namespace (or not, as the case may be)', the correct interpretation
is the one you reproduce.  If by 'interpret' you mean something
else, like mapping into some appliction semantics, then that
depends on the definitions of the elements and attributes you
are using.

> Which attribute should be
> associated with the tag? 

All of the attributes should be associated with the element.
All of them occur on the element's start-tag.  You don't need
to choose among them.

I hope this helps.

-C. M. Sperberg-McQueen
 World Wide Web Consortium / MIT CSAIL


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