[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-06-13 Thread Dana Florescu
** Changed in: zorba
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-04-27 Thread Zorba Build Bot
** Changed in: zorba
   Status: Invalid => Fix Committed

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-09 Thread Sorin Marian Nasoi
So YES, according to W3C, YOU DO HAVE TO convert & into &
:) Sorry for this :)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-09 Thread Sorin Marian Nasoi
My point was to add VALID XHTML parts in XQDoc documentation: this is
the only way it works.

http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
Z39.19-2005

is not a valid XHTML: check out the W3C XHTML validator.

The CORRECT XHTML is:

http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
Z39.19-2005

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-09 Thread Paul J. Lucas
When I include URLs in HTML for a web page, I do NOT have to convert &
into & when it is part of a URL. I have to do that only when I want
a literal & as part of the text.

Using your argument, I should also have to convert < to < which I
clearly should not have to do -- even your correction didn't do it.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-09 Thread Sorin Marian Nasoi
** Changed in: zorba
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-09 Thread Launchpad Bug Tracker
** Branch linked: lp:~zorba-coders/zorba/feature-ft_module

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-09 Thread Sorin Marian Nasoi
I have added the corrected link in your 
https://code.launchpad.net/~zorba-coders/zorba/feature-ft_module
branch in 
http://bazaar.launchpad.net/~zorba-coders/zorba/feature-ft_module/revision/10571

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-09 Thread Sorin Marian Nasoi
Marked the bug as invalid.
All special characters have to be replaced by their corresponding XHTML 
entities:
In the same way as you:
 - replace < with < or < 
 - replace > with > or >
you also have to 
- replace & with & or &

In other works the XHTML part you want to include in the XQDoc documentation of 
a module *have to be* VALID XHTML:
You were trying to add a piece of XHTML similar with this one:





http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005



which is not valid (see http://validator.w3.org/check)

Instead you should have replaced the & with & or & meaning:





http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005



-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  Invalid

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp


[Zorba-coders] [Bug 944795] Re: XQDoc doesn't handle & in URLs

2012-03-07 Thread William Candillon
** Changed in: zorba
 Assignee: William Candillon (wcandillon) => Sorin Marian Nasoi 
(sorin.marian.nasoi)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/944795

Title:
  XQDoc doesn't handle & in URLs

Status in Zorba - The XQuery Processor:
  New

Bug description:
  If one has a URL within XQDoc documentation that contains a &, e.g.:

  : When using the WordNet implementation,
  : Zorba supports all of the relationships (and their abbreviations)
  : specified by
  : http://www.niso.org/kst/reports/standards?step=2&gid=&project_key=7cc9b583cb5a62e8c15d3099e0bb46bbae9cf38a";>ANSI/NISO
 Z39.19-2005.

  the parser complains:

  can not parse as XML for xqdoc: loader parsing error: EntityRef: expecting ';'
  ; raised at 
/Users/pjl/src/flwor/zorba/repo/feature-ft_module/zorba/src/compiler/parsetree/parsenode_print_xqdoc_visitor.cpp:417

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/944795/+subscriptions

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp