[I have wondered for over a month now why no one was answering my
question about whitespace handling in attribute values. I just took
a look to see if someone had answered it and somehow the post never
got to me, only to discover that in fact it seems the initial
question never made it to the list. Sigh. Here's the summary
question:]
I still have not figured out what difference there is between
declaring an attribute to contain 'text' or 'string'. I believe a
processor parsing an XML instance that conforms to a RelaxNG grammar
does no more whitespace regularization on the values it hands to an
application than those required by the XML specification, regardless
of how the attribute is declared in RelaxNG. I.e., that the RelaxNG
declaration only affects whitespace regularization of the attribute
value for purposes of comparison to the schema for validity, not for
other processes. Is that right? Is there any difference between
element bar { empty,
attribute foo { string }
}
and
element bar { empty,
attribute foo { text }
}
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/2U_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/rng-users/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/