Hi,

Haha.. I missed the semicolon. "amp" -> "amp;"

Thank's Ivan

regards,
-aris

On 1/23/12, Ivan Shcheklein <shchekl...@gmail.com> wrote:
> Hi Aris,
>
> In XQuery & (ampersand symbol) must be passed (escaped) as char-ref (e.g.
> predefined one - &amp;) in any string literal:
>
> http://www.w3.org/TR/xquery/#prod-xquery-StringLiteral
>
> Ivan Shcheklein,
> Sedna Team
>
> Hi,
>>
>> I have an error when loading an xhtml file into a collection, which
>> it's file name contains "&" ( I have cralwed this file using wget ).
>> The errors are:
>>
>> SEDNA Message: ERROR XPST0003
>> It is a static error if an expression is not a valid instance of the
>> grammar defined in A.1 EBNF.
>> Details: at (1:6), invalid string literal
>>         at (1:6), syntax error, unexpected lexical error, expecting
>> end of file or statement separator
>>
>>
>> load 'www.a-site.or.id/stories.php?catid=8&start=30.xml'
>> 'www.a-site.or.id/stories.php?catid=8&start=30' 'shahihdb'
>>
>>
>> I can't change this file name format, because it referenced from
>> inside the document.
>>
>> How to work around with this?
>>
>> regards,
>> -aris
>>
>

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to