folder.getChildren() fails on Alfresco (3.2r2) if child has name with ampersand 
in it (&)
-----------------------------------------------------------------------------------------

                 Key: CMIS-238
                 URL: https://issues.apache.org/jira/browse/CMIS-238
             Project: Chemistry
          Issue Type: Bug
          Components: cmislib
            Reporter: Jeff Potts
            Assignee: Jeff Potts
            Priority: Minor


Migrated from GC issue 17, Reported by bdkahn, Mar 30, 2010

What steps will reproduce the problem?
1.Create a file with a & in its filename or title
2.Run getChildren() on the parent folder

What is the expected output? What do you see instead?
I expect the file title will be returned, but I see an error:

  File "ra-update.py", line 45, in main
    files = subfolder.getChildren()
  File "/usr/lib/python2.6/site-packages/cmislib-0.3-
py2.6.egg/cmislib/model.py", line 2737, in getChildren
  File "/usr/lib/python2.6/site-packages/cmislib-0.3-
py2.6.egg/cmislib/model.py", line 199, in get
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 
1915, in parse
    return expatbuilder.parse(file)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", 
line 930, in parse
    result = builder.parseFile(file)
  File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", 
line 207, in parseFile
    parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 83, 
column 39


What version of the product are you using? On what operating system?
cmislib-0.3-py2.6.egg


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to