[jira] Updated: (XERCESC-1925) Wrong temporary token type causes regex construction to fail

2010-05-09 Thread Boris Kolpackov (JIRA)

 [ 
https://issues.apache.org/jira/browse/XERCESC-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boris Kolpackov updated XERCESC-1925:
-

Fix Version/s: 3.1.2
   3.2.0

Scheduling for 3.1.2, 3.2.0.

 Wrong temporary token type causes regex construction to fail
 

 Key: XERCESC-1925
 URL: https://issues.apache.org/jira/browse/XERCESC-1925
 Project: Xerces-C++
  Issue Type: Bug
  Components: Utilities
Reporter: John Keeping
 Fix For: 3.1.2, 3.2.0

 Attachments: xerces-range-token-merge.patch


 When checking for token overlap in a regular expression a temporary range 
 token is constructed and merged with another range token. This temporary 
 token has type Token::T_RANGE so the merge fails if the actual token is of 
 type Token::T_NRANGE.

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


-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] Updated: (XERCESC-1926) IGXMLScanner can fail to properly set its XSModel.

2010-05-09 Thread Boris Kolpackov (JIRA)

 [ 
https://issues.apache.org/jira/browse/XERCESC-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boris Kolpackov updated XERCESC-1926:
-

Fix Version/s: 3.1.2
   3.2.0

Scheduling for 3.1.2, 3.2.0.

 IGXMLScanner can fail to properly set its XSModel.
 --

 Key: XERCESC-1926
 URL: https://issues.apache.org/jira/browse/XERCESC-1926
 Project: Xerces-C++
  Issue Type: Bug
  Components: Validating Parser (XML Schema)
Reporter: John Keeping
 Fix For: 3.1.2, 3.2.0

 Attachments: xerces-model-update.patch


 If an IGXMLScanner is used for a document with no schema and then reset to 
 scan a document with a schema the model is not set correctly.

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


-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] Closed: (XERCESC-1922) MacOSUnicodeConverter.cpp: ISO C++ forbids comparison between pointer of type 'void *' and pointer-to-function

2010-05-09 Thread Boris Kolpackov (JIRA)

 [ 
https://issues.apache.org/jira/browse/XERCESC-1922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boris Kolpackov closed XERCESC-1922.


Fix Version/s: 3.1.2
   3.2.0
   (was: 3.1.0)
   Resolution: Fixed

Fix is in SVN, thanks.

 MacOSUnicodeConverter.cpp: ISO C++ forbids comparison between pointer of type 
 'void *' and pointer-to-function
 --

 Key: XERCESC-1922
 URL: https://issues.apache.org/jira/browse/XERCESC-1922
 Project: Xerces-C++
  Issue Type: Improvement
  Components: Build
 Environment: Mac OS X 10.6.3, g++ 4.2.1, xerces 3.1
Reporter: isidoro ghezzi
Priority: Minor
 Fix For: 3.1.2, 3.2.0

   Original Estimate: 1h
  Remaining Estimate: 1h

 Compiling with $ g++ --version
 i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
 having -Wall -Wextra -Wconversion -ansi -pedantic flags the result is:
 xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp: In 
 static member function 'static bool 
 xercesc_3_1::MacOSUnicodeConverter::IsMacOSUnicodeConverterSupported()':
 xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp:461: 
 error: ISO C++ forbids comparison between pointer of type 'void *' and 
 pointer-to-function
 xercesc/util/Transcoders/MacOSUnicodeConverter/MacOSUnicodeConverter.cpp:462: 
 error: ISO C++ forbids comparison between pointer of type 'void *' and 
 pointer-to-function
 to avoid that, i suggest to change:
 [code]
 bool
 MacOSUnicodeConverter::IsMacOSUnicodeConverterSupported(void)
 {
 return UpgradeScriptInfoToTextEncoding != (void*)NULL
  CreateTextToUnicodeInfoByEncoding != (void*)NULL
 ;
 }
 [/code]
 to:
 [code]
 bool
 MacOSUnicodeConverter::IsMacOSUnicodeConverterSupported(void)
 {
 return (0L != UpgradeScriptInfoToTextEncoding)
  (0L != CreateTextToUnicodeInfoByEncoding)
 ;
 }
 [/code]

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


-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org



[jira] Closed: (XERCESC-1923) removing extras semicolon

2010-05-09 Thread Boris Kolpackov (JIRA)

 [ 
https://issues.apache.org/jira/browse/XERCESC-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boris Kolpackov closed XERCESC-1923.


Fix Version/s: 3.1.2
   3.2.0
   Resolution: Fixed

The fix is in SVN, thanks!

 removing extras semicolon
 -

 Key: XERCESC-1923
 URL: https://issues.apache.org/jira/browse/XERCESC-1923
 Project: Xerces-C++
  Issue Type: Test
  Components: Samples/Tests
Affects Versions: 3.1.0
 Environment: MacOS 10.3.6, xerces 3.1, gcc 4.2
Reporter: isidoro ghezzi
 Fix For: 3.1.2, 3.2.0

   Original Estimate: 1h
  Remaining Estimate: 1h

 Compiling with $ g++ --version 
 i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) 
 having -Wall -Wextra -Wconversion -ansi -pedantic flags the result is: 
 $ make check
 ...
 Compiling src/DOM/DOMMemTest/DOMMemTest.cpp
 src/DOM/DOMMemTest/DOMMemTest.cpp:50: error: extra ';'
 src/DOM/DOMMemTest/DOMMemTest.cpp:1489: error: extra ';'
 Compiling src/DOM/Normalizer/Normalizer.cpp
 src/DOM/Normalizer/Normalizer.cpp:203: error: extra ';'
 Compiling src/DOM/RangeTest/RangeTest.cpp
 src/DOM/RangeTest/RangeTest.cpp:55: error: extra ';'
 src/DOM/RangeTest/RangeTest.cpp:966: error: extra ';'
 Compiling src/DOM/Traversal/Traversal.cpp
 src/DOM/Traversal/Traversal.cpp:55: error: extra ';'
 src/DOM/Traversal/Traversal.cpp:557: error: extra ';'
 Compiling src/EncodingTest/EncodingTest.cpp
 src/EncodingTest/EncodingTest.cpp:82: error: extra ';'
 src/EncodingTest/EncodingTest.cpp:96: error: extra ';'
 src/EncodingTest/EncodingTest.cpp:111: error: extra ';'
 src/EncodingTest/EncodingTest.cpp:172: error: extra ';'
 src/EncodingTest/EncodingTest.cpp:443: error: extra ';'
 solved simply removing extra ; at above lines.

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


-
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org