You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jaka Jaksic (JIRA)" <ji...@apache.org> on 2006/08/17 20:53:17 UTC
[jira] Created: (JCR-543) DocViewSAXEventGenerator produces invalid
SAX stream
DocViewSAXEventGenerator produces invalid SAX stream
----------------------------------------------------
Key: JCR-543
URL: http://issues.apache.org/jira/browse/JCR-543
Project: Jackrabbit
Issue Type: Bug
Components: xml
Affects Versions: 1.0.1
Reporter: Jaka Jaksic
ISO9075.encode() is called twice in DocViewSAXEventGenerator.leaving(), which produces invalid endElement events.
Faulty block of code (note the encode method called twice):
// encode node name to make sure it's a valid xml name
name = ISO9075.encode(name);
// element name
String elemName;
if (node.getDepth() == 0) {
// root node needs a name
elemName = jcrRoot;
} else {
// encode node name to make sure it's a valid xml name
elemName = ISO9075.encode(name);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (JCR-543) DocViewSAXEventGenerator produces
invalid SAX stream
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved JCR-543.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.1
> DocViewSAXEventGenerator produces invalid SAX stream
> ----------------------------------------------------
>
> Key: JCR-543
> URL: https://issues.apache.org/jira/browse/JCR-543
> Project: Jackrabbit
> Issue Type: Bug
> Components: xml
> Affects Versions: 1.0.1
> Reporter: Jaka Jaksic
> Assigned To: Stefan Guggisberg
> Fix For: 1.1
>
>
> ISO9075.encode() is called twice in DocViewSAXEventGenerator.leaving(), which produces invalid endElement events.
> Faulty block of code (note the encode method called twice):
> // encode node name to make sure it's a valid xml name
> name = ISO9075.encode(name);
> // element name
> String elemName;
> if (node.getDepth() == 0) {
> // root node needs a name
> elemName = jcrRoot;
> } else {
> // encode node name to make sure it's a valid xml name
> elemName = ISO9075.encode(name);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (JCR-543) DocViewSAXEventGenerator produces
invalid SAX stream
Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-543?page=all ]
Stefan Guggisberg reassigned JCR-543:
-------------------------------------
Assignee: Stefan Guggisberg
> DocViewSAXEventGenerator produces invalid SAX stream
> ----------------------------------------------------
>
> Key: JCR-543
> URL: http://issues.apache.org/jira/browse/JCR-543
> Project: Jackrabbit
> Issue Type: Bug
> Components: xml
> Affects Versions: 1.0.1
> Reporter: Jaka Jaksic
> Assigned To: Stefan Guggisberg
>
> ISO9075.encode() is called twice in DocViewSAXEventGenerator.leaving(), which produces invalid endElement events.
> Faulty block of code (note the encode method called twice):
> // encode node name to make sure it's a valid xml name
> name = ISO9075.encode(name);
> // element name
> String elemName;
> if (node.getDepth() == 0) {
> // root node needs a name
> elemName = jcrRoot;
> } else {
> // encode node name to make sure it's a valid xml name
> elemName = ISO9075.encode(name);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (JCR-543) DocViewSAXEventGenerator produces invalid
SAX stream
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting closed JCR-543.
-----------------------------
> DocViewSAXEventGenerator produces invalid SAX stream
> ----------------------------------------------------
>
> Key: JCR-543
> URL: https://issues.apache.org/jira/browse/JCR-543
> Project: Jackrabbit
> Issue Type: Bug
> Components: xml
> Affects Versions: 1.0.1
> Reporter: Jaka Jaksic
> Assigned To: Stefan Guggisberg
>
> ISO9075.encode() is called twice in DocViewSAXEventGenerator.leaving(), which produces invalid endElement events.
> Faulty block of code (note the encode method called twice):
> // encode node name to make sure it's a valid xml name
> name = ISO9075.encode(name);
> // element name
> String elemName;
> if (node.getDepth() == 0) {
> // root node needs a name
> elemName = jcrRoot;
> } else {
> // encode node name to make sure it's a valid xml name
> elemName = ISO9075.encode(name);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (JCR-543) DocViewSAXEventGenerator produces invalid
SAX stream
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting closed JCR-543.
-----------------------------
> DocViewSAXEventGenerator produces invalid SAX stream
> ----------------------------------------------------
>
> Key: JCR-543
> URL: https://issues.apache.org/jira/browse/JCR-543
> Project: Jackrabbit
> Issue Type: Bug
> Components: xml
> Affects Versions: 1.0.1
> Reporter: Jaka Jaksic
> Assignee: Stefan Guggisberg
> Fix For: 1.1
>
>
> ISO9075.encode() is called twice in DocViewSAXEventGenerator.leaving(), which produces invalid endElement events.
> Faulty block of code (note the encode method called twice):
> // encode node name to make sure it's a valid xml name
> name = ISO9075.encode(name);
> // element name
> String elemName;
> if (node.getDepth() == 0) {
> // root node needs a name
> elemName = jcrRoot;
> } else {
> // encode node name to make sure it's a valid xml name
> elemName = ISO9075.encode(name);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-543) DocViewSAXEventGenerator produces
invalid SAX stream
Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/JCR-543?page=all ]
Stefan Guggisberg resolved JCR-543.
-----------------------------------
Resolution: Fixed
fixed in svn r432563
thanks for reporting this isssue!
> DocViewSAXEventGenerator produces invalid SAX stream
> ----------------------------------------------------
>
> Key: JCR-543
> URL: http://issues.apache.org/jira/browse/JCR-543
> Project: Jackrabbit
> Issue Type: Bug
> Components: xml
> Affects Versions: 1.0.1
> Reporter: Jaka Jaksic
> Assigned To: Stefan Guggisberg
>
> ISO9075.encode() is called twice in DocViewSAXEventGenerator.leaving(), which produces invalid endElement events.
> Faulty block of code (note the encode method called twice):
> // encode node name to make sure it's a valid xml name
> name = ISO9075.encode(name);
> // element name
> String elemName;
> if (node.getDepth() == 0) {
> // root node needs a name
> elemName = jcrRoot;
> } else {
> // encode node name to make sure it's a valid xml name
> elemName = ISO9075.encode(name);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Reopened: (JCR-543) DocViewSAXEventGenerator produces
invalid SAX stream
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting reopened JCR-543:
-------------------------------
> DocViewSAXEventGenerator produces invalid SAX stream
> ----------------------------------------------------
>
> Key: JCR-543
> URL: https://issues.apache.org/jira/browse/JCR-543
> Project: Jackrabbit
> Issue Type: Bug
> Components: xml
> Affects Versions: 1.0.1
> Reporter: Jaka Jaksic
> Assigned To: Stefan Guggisberg
> Fix For: 1.1
>
>
> ISO9075.encode() is called twice in DocViewSAXEventGenerator.leaving(), which produces invalid endElement events.
> Faulty block of code (note the encode method called twice):
> // encode node name to make sure it's a valid xml name
> name = ISO9075.encode(name);
> // element name
> String elemName;
> if (node.getDepth() == 0) {
> // root node needs a name
> elemName = jcrRoot;
> } else {
> // encode node name to make sure it's a valid xml name
> elemName = ISO9075.encode(name);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.