[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: getAppStructuresByName returns null if nothing is found.
Hello, In the spec it says: getAppStructuresByName Returns the list of Application Structures whose names are given by apsName in the order in which they are encountered in a preorder traversal of the WebCGMPicture tree. If no such Application Structures exists, returns null. Only WebCGM Application Structures may be retrieved using getAppStructuresByName. I was having problems with one of my test cases and Benoit pointed out that my problem was using the wrong name in my getAppStructuresByName() call and was getting a null value. Should it return null if the application strucutre does not exist. Or would it be better for an empty NodeList to be returned? I think that an empty list would make it easier on the script writers. Stuart. -- Stuart Galt SGML Resource Group stuart.a.galt@boeing.com (206) 544-9925
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]