|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to falseNot possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false
--------------------------------------------------------------------------------------------------------------- Key: MODELLO-200 URL: http://jira.codehaus.org/browse/MODELLO-200 Project: Modello Issue Type: Bug Components: modello-plugin-stax Reporter: Maria Catherine Tan StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maria Catherine Tan updated MODELLO-200: ---------------------------------------- Attachment: MODELLLO-200.patch Attached patch > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=184615#action_184615 ] Brett Porter commented on MODELLO-200: -------------------------------------- unfortunately this patch no longer applies. Are you able to update it for the current SVN? > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maria Catherine Tan updated MODELLO-200: ---------------------------------------- Attachment: MODELLO-200-modello-plugin-stax.patch Attached updated patch. Thanks! > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch, MODELLO-200-modello-plugin-stax.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maria Catherine Tan updated MODELLO-200: ---------------------------------------- Attachment: MODELLO-200-unit-test.patch It seems this has been already fixed in the trunk. Attaching the unit tests I used for unrecognized tag separately. > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch, MODELLO-200-modello-plugin-stax.patch, MODELLO-200-unit-test.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186891#action_186891 ] Herve Boutemy commented on MODELLO-200: --------------------------------------- how is this unit test different from [verifyWrongElement() method added in r996|http://fisheye.codehaus.org/browse/modello/trunk/modello-plugins/modello-plugin-stax/src/test/verifiers/features/StaxFeaturesVerifier.java?r=1276#l127]? this unit-test was added before Modello 1.0 was released: with which Modello version did your problem occur? > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch, MODELLO-200-modello-plugin-stax.patch, MODELLO-200-unit-test.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186960#action_186960 ] Maria Catherine Tan commented on MODELLO-200: --------------------------------------------- My mistake, this is not yet fixed in the trunk :( The unit test is not correct that's why I thought it is already fixed. Will need to fix it. > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch, MODELLO-200-modello-plugin-stax.patch, MODELLO-200-unit-test.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186961#action_186961 ] Maria Catherine Tan commented on MODELLO-200: --------------------------------------------- Here is the error i'm getting. Tried this from version 1.0 till trunk r1300. Exception in thread "main" org.apache.maven.continuum.management.DataManagementException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[192,27] Message: expected XMLStreamConstants.START_ELEMENT or XMLStreamConstants.END_ELEMENT not CHARACTERS at org.apache.maven.continuum.management.JdoDataManagementTool.restoreDatabase(JdoDataManagementTool.java:249) at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:289) at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:180) Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[192,27] Message: expected XMLStreamConstants.START_ELEMENT or XMLStreamConstants.END_ELEMENT not CHARACTERS at com.bea.xml.stream.MXParser.nextTag(MXParser.java:1220) at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.parseProject(ContinuumStaxReader.java:1927) at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.parseProjectGroup(ContinuumStaxReader.java:2265) at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.parseContinuumDatabase(ContinuumStaxReader.java:1178) at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.read(ContinuumStaxReader.java:2849) at org.apache.maven.continuum.management.JdoDataManagementTool.restoreDatabase(JdoDataManagementTool.java:245) ... 2 more > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch, MODELLO-200-modello-plugin-stax.patch, MODELLO-200-unit-test.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Maria Catherine Tan updated MODELLO-200: ---------------------------------------- Attachment: MODELLO-200-with-fixed-unit-test.patch Attached patch created against r1300 of trunk with fixed unit test "MODELLO-200-with-fixed-unit-test.patch" > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Attachments: MODELLLO-200.patch, MODELLO-200-modello-plugin-stax.patch, MODELLO-200-unit-test.patch, MODELLO-200-with-fixed-unit-test.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Closed: (MODELLO-200) Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false[ http://jira.codehaus.org/browse/MODELLO-200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy closed MODELLO-200. --------------------------------- Assignee: Herve Boutemy Resolution: Fixed Fix Version/s: 1.1 ok, I understand now: the invalid element in your test is not directly under root element but deeper. patch applied in [r1301|http://fisheye.codehaus.org/changelog/modello/?cs=1301], with modifications: - only the first half of StaxReaderGenerator was useful - I extended features unit-tests instead of creating a new one specific to StaX (now, I need to check if other XML plugins have the same issue...) thank you > Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false > --------------------------------------------------------------------------------------------------------------- > > Key: MODELLO-200 > URL: http://jira.codehaus.org/browse/MODELLO-200 > Project: Modello > Issue Type: Bug > Components: modello-plugin-stax > Reporter: Maria Catherine Tan > Assignee: Herve Boutemy > Fix For: 1.1 > > Attachments: MODELLLO-200.patch, MODELLO-200-modello-plugin-stax.patch, MODELLO-200-unit-test.patch, MODELLO-200-with-fixed-unit-test.patch > > > StaxReader is throwing "Received non-all-whitespace CHARACTERS or CDATA event in nextTag()" when strict is set to false. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |