Syd Bauman scripsit:

> I still have not figured out what difference there is between
> declaring an attribute to contain 'text' or 'string'.

There is none.

> 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. 

Correct.

There is a substantial difference in elements, however.  "String"
means the element contains character data only; no other patterns
can combine with "string" except by way of a choice.  "Text" 
can coexist with child elements; "text", "text?", "text*", and "text+"
all mean the same thing.

-- 
While staying with the Asonu, I met a man from      John Cowan
the Candensian plane, which is very much like       [EMAIL PROTECTED]
ours, only more of it consists of Toronto.          http://:www.ccil.org/~cowan
        --Ursula K. Le Guin, Changing Planes


------------------------ 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/
 


Reply via email to