You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Xerces <xe...@yahoo.com> on 2002/05/22 11:29:17 UTC

"PI" related Newbie query

Hi:

The PI expression is written in the following manner 
(ref. http://www.w3.org/TR/REC-xml )

PI          ::=    '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'
PITarget    ::=    Name - (('X' | 'x') ('M' | 'm') ('L' | 'l')) 

My query is what does the symbol '-' imply in the above expressions ?

Any pointers in this regard will be appreciated.

Thanks
Tom.

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: "PI" related Newbie query

Posted by William T Sutherland <ws...@lucent.com>.
Xerces wrote:
> 
> Hi:
> 
> The PI expression is written in the following manner
> (ref. http://www.w3.org/TR/REC-xml )
> 
> PI          ::=    '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'
> PITarget    ::=    Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))
> 
> My query is what does the symbol '-' imply in the above expressions ?
> 
> Any pointers in this regard will be appreciated.
> 
> Thanks
> Tom.
> 
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org

... Minus i.e. "the set of tokens on the left" minus "the set of tokens on the
right. You can see the concept most easily with the PITarget grammar rule you
give, as 'xml' in any shape or form isn't allowed as a Name. The first rule is
saying that you're not allowed '?>' in the tokens to the right of a PITarget.

Bill.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org